Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 177 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4663/0.4663, allocations: 43.58 MB / 314.6 MB, free: 8.738 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.0005903/0.0005904, allocations: 16 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1613, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002471/0.1638, allocations: 1.465 MB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1653, allocations: 0.8279 MB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.1655, allocations: 4 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.166, allocations: 291.4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1664, allocations: 203.5 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1667, allocations: 127.8 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.167, allocations: 195.4 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.1671, allocations: 17.53 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1672, allocations: 115.6 kB / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1675, allocations: 163.5 kB / 446.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1675, allocations: 4 kB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1676, allocations: 35.98 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1678, allocations: 139.5 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.1678, allocations: 77.45 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1682, allocations: 275.8 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1682, allocations: 0 / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1682, allocations: 0 / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1682, allocations: 0 / 446.7 MB, free: 9.07 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.0008662/0.1691, allocations: 0.6726 MB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1691, allocations: 16.02 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.1692, allocations: 47.34 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.1698, allocations: 431.1 kB / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1698, allocations: 0 / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1699, allocations: 7.938 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1701, allocations: 91.34 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.1701, allocations: 0 / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1701, allocations: 0 / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1701, allocations: 3.953 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1702, allocations: 39.84 kB / 448 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1707, allocations: 378.3 kB / 448.4 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1709, allocations: 105.2 kB / 448.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.171, allocations: 41.64 kB / 448.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1711, allocations: 0 / 448.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.1714, allocations: 113.1 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1714, allocations: 0 / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004849/0.1719, allocations: 189.4 kB / 448.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.172, allocations: 85.06 kB / 448.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.1731, allocations: 1.034 MB / 450 MB, free: 5.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.1732, allocations: 37.62 kB / 450 MB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.1734, allocations: 236.1 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.1735, allocations: 27.64 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.1735, allocations: 0 / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1737, allocations: 370.8 kB / 450.6 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.1737, allocations: 27.98 kB / 450.6 MB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1738, allocations: 51.41 kB / 450.7 MB, free: 4.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.1739, allocations: 40.12 kB / 450.7 MB, free: 4.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.174, allocations: 0 / 450.7 MB, free: 4.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002895/0.1742, allocations: 168.9 kB / 450.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1743, allocations: 4 kB / 450.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1743, allocations: 7.938 kB / 450.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1743, allocations: 0 / 450.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1744, allocations: 19.98 kB / 450.9 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1745, allocations: 12.02 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.1746, allocations: 7.938 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1746, allocations: 8 kB / 450.9 MB, free: 4.578 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.1748, allocations: 225.6 kB / 451.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.1749, allocations: 51.34 kB / 451.2 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.175, allocations: 60 kB / 451.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.175, allocations: 4 kB / 451.3 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.175, allocations: 3.938 kB / 451.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.175, allocations: 11.94 kB / 451.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.1754, allocations: 333.5 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1754, allocations: 0 / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.1754, allocations: 15.98 kB / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1754, allocations: 3.938 kB / 451.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1754, allocations: 0 / 451.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1754, allocations: 4 kB / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.1755, allocations: 0 / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.1758, allocations: 205.3 kB / 451.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1759, allocations: 144.5 kB / 452 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.176, allocations: 4 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1761, allocations: 7.984 kB / 452 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1761, allocations: 8 kB / 452 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1762, allocations: 7.984 kB / 452 MB, free: 3.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008681/0.177, allocations: 0.7682 MB / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.177, allocations: 0 / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1773, allocations: 51.86 kB / 452.8 MB, free: 2.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.1784, allocations: 425.4 kB / 453.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1787, allocations: 72.03 kB / 453.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1787, allocations: 0 / 453.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1788, allocations: 52.03 kB / 453.4 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1792, allocations: 66.39 kB / 453.4 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1805, allocations: 0.901 MB / 454.3 MB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.181, allocations: 0.8391 MB / 455.2 MB, free: 240 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.1811, allocations: 58.94 kB / 455.2 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1812, allocations: 31.44 kB / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1812, allocations: 0 / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of Templates: time 0.2157/0.3969, allocations: 3.382 MB / 458.6 MB, free: 45.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches