Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009854/0.009853, allocations: 100.1 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.001518/0.001518, allocations: 191.5 kB / 16.78 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.73/1.73, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.4464/0.4464, allocations: 43.5 MB / 313.5 MB, free: 8.516 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.001497/0.001497, allocations: 70.56 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1648, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003786/0.1686, allocations: 1.834 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1703, allocations: 0.8742 MB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.1704, allocations: 7.938 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.171, allocations: 283.4 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1714, allocations: 203.5 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1717, allocations: 127.8 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1721, allocations: 227.4 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.1721, allocations: 25.47 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1723, allocations: 111.6 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1725, allocations: 188 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.1726, allocations: 4 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1727, allocations: 39.98 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1729, allocations: 132.5 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.173, allocations: 134.9 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1734, allocations: 350.9 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1734, allocations: 0 / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1734, allocations: 3.984 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1735, allocations: 8 kB / 444.3 MB, free: 10.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00104/0.1745, allocations: 0.7152 MB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1746, allocations: 12.03 kB / 445.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.1747, allocations: 44.38 kB / 445.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1752, allocations: 435.9 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1752, allocations: 8.375 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1753, allocations: 8.125 kB / 445.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1755, allocations: 91.3 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1755, allocations: 0 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1755, allocations: 0 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1756, allocations: 0 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1757, allocations: 27.98 kB / 445.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1761, allocations: 378.2 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.1764, allocations: 113.2 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1766, allocations: 45.62 kB / 446.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1766, allocations: 4 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1769, allocations: 109 kB / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1769, allocations: 0 / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005188/0.1774, allocations: 193 kB / 446.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.1775, allocations: 85.09 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1786, allocations: 1.011 MB / 447.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1786, allocations: 29.7 kB / 447.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1788, allocations: 228 kB / 447.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.1789, allocations: 31.64 kB / 447.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1789, allocations: 25.72 kB / 447.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1791, allocations: 366.8 kB / 448.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.1792, allocations: 35.91 kB / 448.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.1793, allocations: 59.36 kB / 448.3 MB, free: 6.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1795, allocations: 87.34 kB / 448.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1795, allocations: 4 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002926/0.1798, allocations: 165.5 kB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1798, allocations: 4 kB / 448.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1799, allocations: 4.062 kB / 448.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1799, allocations: 4 kB / 448.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.18, allocations: 19.98 kB / 448.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.18, allocations: 11.98 kB / 448.6 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.1801, allocations: 15.89 kB / 448.7 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1801, allocations: 4 kB / 448.7 MB, free: 5.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002313/0.1804, allocations: 225.6 kB / 448.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.1805, allocations: 51.34 kB / 448.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.1805, allocations: 59.84 kB / 449 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1806, allocations: 0 / 449 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1806, allocations: 4 kB / 449 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1806, allocations: 3.984 kB / 449 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1809, allocations: 341.3 kB / 449.3 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1809, allocations: 0 / 449.3 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.181, allocations: 8 kB / 449.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.181, allocations: 0 / 449.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.181, allocations: 7.984 kB / 449.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.181, allocations: 3.938 kB / 449.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.181, allocations: 0 / 449.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1814, allocations: 209.2 kB / 449.6 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.1815, allocations: 136.4 kB / 449.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1815, allocations: 0 / 449.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.1816, allocations: 7.984 kB / 449.7 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1817, allocations: 11.98 kB / 449.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1817, allocations: 4 kB / 449.7 MB, free: 4.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007908/0.1825, allocations: 0.7526 MB / 450.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1825, allocations: 0 / 450.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1828, allocations: 40 kB / 450.5 MB, free: 3.73 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001018/0.1838, allocations: 422.6 kB / 450.9 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.1841, allocations: 83.89 kB / 451 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1841, allocations: 0 / 451 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1842, allocations: 44.05 kB / 451 MB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.1846, allocations: 73.19 kB / 451.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1859, allocations: 0.9269 MB / 452 MB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.1864, allocations: 0.8391 MB / 452.9 MB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1865, allocations: 55.44 kB / 452.9 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.1866, allocations: 31.42 kB / 453 MB, free: 1.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1866, allocations: 4 kB / 453 MB, free: 1.246 MB / 382.1 MB Notification: Performance of Templates: time 0.2777/0.4643, allocations: 3.5 MB / 456.5 MB, free: 48.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches