Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001635/0.001635, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.002152/0.002152, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 65.59 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1541, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004277/0.1584, allocations: 1.785 MB / 471 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1605, allocations: 0.9666 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1607, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.1613, allocations: 311.3 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.1618, allocations: 203.4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.1624, allocations: 178.3 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.1629, allocations: 243.4 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.163, allocations: 9.562 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1633, allocations: 127.6 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.1637, allocations: 191.5 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1637, allocations: 8 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1639, allocations: 43.92 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1641, allocations: 127.6 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.1644, allocations: 154.7 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.165, allocations: 363 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.165, allocations: 4 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.165, allocations: 0 / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.165, allocations: 0 / 473.9 MB, free: 9.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001441/0.1665, allocations: 0.7191 MB / 474.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1666, allocations: 12.03 kB / 474.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1667, allocations: 52.22 kB / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007594/0.1675, allocations: 443.9 kB / 475.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1675, allocations: 4.375 kB / 475.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1676, allocations: 12.12 kB / 475.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1678, allocations: 87.34 kB / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1678, allocations: 0 / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1678, allocations: 3.938 kB / 475.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1678, allocations: 0 / 475.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.168, allocations: 35.91 kB / 475.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1684, allocations: 378.4 kB / 475.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1687, allocations: 109.2 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.1688, allocations: 45.62 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1689, allocations: 0 / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.1692, allocations: 112.9 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.215e-06/0.1692, allocations: 0 / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005353/0.1698, allocations: 193.1 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1698, allocations: 81.05 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.171, allocations: 1.042 MB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1711, allocations: 25.7 kB / 477.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1713, allocations: 236.1 kB / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.1713, allocations: 31.55 kB / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.1714, allocations: 29.7 kB / 477.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1716, allocations: 366.8 kB / 477.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1717, allocations: 27.98 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1718, allocations: 55.92 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.172, allocations: 95.34 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.172, allocations: 0 / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000319/0.1724, allocations: 168.9 kB / 478.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1724, allocations: 8.062 kB / 478.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1724, allocations: 0 / 478.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1724, allocations: 4 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1726, allocations: 27.92 kB / 478.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1726, allocations: 4 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1727, allocations: 11.89 kB / 478.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1727, allocations: 4 kB / 478.3 MB, free: 5.004 MB / 350.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.0002238/0.173, allocations: 229.6 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.173, allocations: 55.28 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.1731, allocations: 60 kB / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1731, allocations: 0 / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1731, allocations: 0 / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1732, allocations: 4 kB / 478.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.1735, allocations: 341.4 kB / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1735, allocations: 3.938 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.1735, allocations: 8 kB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1735, allocations: 0 / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1735, allocations: 4.125 kB / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1736, allocations: 4 kB / 479 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1736, allocations: 4 kB / 479 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1739, allocations: 209.2 kB / 479.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.174, allocations: 132.5 kB / 479.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1741, allocations: 4 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1742, allocations: 8 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1742, allocations: 11.98 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.1743, allocations: 7.984 kB / 479.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000765/0.1751, allocations: 0.7682 MB / 480.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1751, allocations: 0 / 480.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1753, allocations: 44 kB / 480.2 MB, free: 3.027 MB / 350.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.001027/0.1764, allocations: 416.2 kB / 480.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1767, allocations: 79.97 kB / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1767, allocations: 4.062 kB / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1768, allocations: 43.86 kB / 480.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1773, allocations: 89.89 kB / 480.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1786, allocations: 0.8743 MB / 481.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.179, allocations: 0.8427 MB / 482.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1792, allocations: 62.89 kB / 482.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.1793, allocations: 35.42 kB / 482.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1793, allocations: 0 / 482.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Templates: time 0.009063/0.1883, allocations: 3.704 MB / 486.3 MB, free: 13.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches