Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 85.25 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1284, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003555/0.132, allocations: 1.73 MB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1338, allocations: 1.021 MB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.1339, allocations: 4 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1342, allocations: 35.77 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.1346, allocations: 95.53 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1348, allocations: 79.67 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.135, allocations: 103.7 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.1351, allocations: 20 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1352, allocations: 43.78 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.1352, allocations: 31.78 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1353, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1354, allocations: 39.98 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.1354, allocations: 19.92 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.1355, allocations: 43.67 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1357, allocations: 115.9 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1357, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1357, allocations: 4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1357, allocations: 4 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006297/0.1364, allocations: 410.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1364, allocations: 8.031 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1365, allocations: 12.84 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1368, allocations: 212.8 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1368, allocations: 4.312 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1368, allocations: 8.125 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.137, allocations: 61.61 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.137, allocations: 0 / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.137, allocations: 3.984 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1371, allocations: 0 / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.1371, allocations: 19.98 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1376, allocations: 288.8 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1378, allocations: 62.62 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.1378, allocations: 20.84 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1379, allocations: 4 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1381, allocations: 63.39 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1381, allocations: 0 / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.1387, allocations: 169.2 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1388, allocations: 59.41 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.139, allocations: 194.4 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.139, allocations: 29.64 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1392, allocations: 112.1 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1392, allocations: 19.72 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1393, allocations: 21.7 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1395, allocations: 326.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.1395, allocations: 23.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.1396, allocations: 41.64 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1397, allocations: 61.7 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1397, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.14, allocations: 101.4 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.14, allocations: 8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.14, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.14, allocations: 4.031 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.1401, allocations: 12 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1401, allocations: 8.141 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1402, allocations: 7.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1402, allocations: 4.375 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.1403, allocations: 125.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1403, allocations: 15.89 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.1404, allocations: 17.39 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1404, allocations: 3.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1404, allocations: 8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1404, allocations: 3.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.141, allocations: 399.2 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.141, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.141, allocations: 12 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.141, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.141, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.141, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1411, allocations: 4.031 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1413, allocations: 204.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.1414, allocations: 88.92 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1414, allocations: 7.938 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.1415, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1415, allocations: 7.984 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1416, allocations: 12 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1417, allocations: 144.4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.142, allocations: 27.94 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/0.1437, allocations: 460.2 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1439, allocations: 67.89 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1439, allocations: 0 / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.144, allocations: 27.92 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1444, allocations: 34.25 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.1449, allocations: 231.1 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1453, allocations: 0.7119 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.1454, allocations: 17.17 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.1455, allocations: 15.44 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1455, allocations: 0 / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.005624/0.1511, allocations: 1.745 MB / 490.2 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches