Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007611/0.007611, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4246/0.4246, allocations: 43.5 MB / 313.5 MB, free: 8.289 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.00178, allocations: 71.89 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1629, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004624/0.1675, allocations: 1.753 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1699, allocations: 1.379 MB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1701, allocations: 0 / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1705, allocations: 35.83 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1708, allocations: 43.84 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1712, allocations: 79.84 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1714, allocations: 91.69 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1715, allocations: 16.22 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1716, allocations: 31.86 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1718, allocations: 43.7 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1718, allocations: 4 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.172, allocations: 59.95 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1721, allocations: 11.98 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.1722, allocations: 27.81 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1724, allocations: 127.9 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1724, allocations: 0 / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1724, allocations: 0 / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1725, allocations: 0 / 443.5 MB, free: 10.88 MB / 382.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.0006418/0.1731, allocations: 407 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1732, allocations: 8.031 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1732, allocations: 8.844 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1735, allocations: 212.1 kB / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1735, allocations: 384 / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1736, allocations: 8.125 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1738, allocations: 79.38 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1738, allocations: 3.938 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1738, allocations: 4 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1738, allocations: 3.938 kB / 444.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.1739, allocations: 15.98 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1743, allocations: 284.8 kB / 444.5 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1745, allocations: 58.62 kB / 444.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.1746, allocations: 20.84 kB / 444.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1746, allocations: 4 kB / 444.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.1749, allocations: 63.39 kB / 444.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1749, allocations: 0 / 444.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006546/0.1755, allocations: 177.2 kB / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.1756, allocations: 81.11 kB / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1758, allocations: 145.8 kB / 445.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1758, allocations: 33.69 kB / 445.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1759, allocations: 92.14 kB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1759, allocations: 31.62 kB / 445.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.176, allocations: 21.72 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1761, allocations: 326.8 kB / 445.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.1762, allocations: 19.98 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.1763, allocations: 50.5 kB / 445.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1764, allocations: 53.72 kB / 445.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1764, allocations: 0 / 445.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002139/0.1767, allocations: 101.5 kB / 445.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1767, allocations: 4 kB / 445.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1767, allocations: 4.047 kB / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1767, allocations: 8 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1768, allocations: 15.98 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1769, allocations: 3.938 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.1769, allocations: 7.938 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1769, allocations: 4 kB / 445.8 MB, free: 8.312 MB / 382.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.0001212/0.1771, allocations: 121.8 kB / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1771, allocations: 11.81 kB / 446 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.1772, allocations: 16.86 kB / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1772, allocations: 4 kB / 446 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1772, allocations: 384 / 446 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1772, allocations: 3.938 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1777, allocations: 391.3 kB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.1777, allocations: 8 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1777, allocations: 8.172 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1778, allocations: 4 kB / 446.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1778, allocations: 7.875 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1778, allocations: 4.031 kB / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1778, allocations: 4 kB / 446.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.178, allocations: 196.3 kB / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1781, allocations: 85.02 kB / 446.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.1782, allocations: 15.86 kB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1782, allocations: 4 kB / 446.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1783, allocations: 8 kB / 446.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1783, allocations: 7.984 kB / 446.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1784, allocations: 114.5 kB / 446.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1784, allocations: 0 / 446.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1787, allocations: 31.98 kB / 446.9 MB, free: 7.188 MB / 382.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.001456/0.1802, allocations: 0.5002 MB / 447.4 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1804, allocations: 55.91 kB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1804, allocations: 0 / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.1805, allocations: 36.2 kB / 447.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1809, allocations: 28.11 kB / 447.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.1814, allocations: 208.6 kB / 447.7 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1818, allocations: 0.7044 MB / 448.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.262e-05/0.1819, allocations: 16.88 kB / 448.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.182, allocations: 19.42 kB / 448.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.182, allocations: 0 / 448.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of Templates: time 0.006067/0.188, allocations: 1.889 MB / 450.3 MB, free: 3.715 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches