Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.00135/0.00135, allocations: 172.1 kB / 18.25 MB, free: 5.523 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.64/1.64, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004071, allocations: 9.031 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002596/0.1629, allocations: 1.503 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1647, allocations: 0.9317 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.1648, allocations: 4 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.1653, allocations: 283.4 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.1657, allocations: 195.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1661, allocations: 155.3 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.1664, allocations: 231.4 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/0.1664, allocations: 9.547 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1666, allocations: 111.6 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1668, allocations: 192 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1669, allocations: 8 kB / 475.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.167, allocations: 43.92 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1671, allocations: 132.6 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1673, allocations: 160.5 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1677, allocations: 346.9 kB / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1677, allocations: 0 / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1677, allocations: 0 / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1677, allocations: 3.938 kB / 476.5 MB, free: 9.035 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.0009511/0.1686, allocations: 0.6611 MB / 477.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1687, allocations: 8.031 kB / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1688, allocations: 48.28 kB / 477.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1694, allocations: 439.9 kB / 477.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.1695, allocations: 4.312 kB / 477.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1695, allocations: 12.12 kB / 477.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1697, allocations: 87.3 kB / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1697, allocations: 0 / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1698, allocations: 4 kB / 477.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1698, allocations: 4 kB / 477.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1699, allocations: 23.98 kB / 477.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1703, allocations: 370.3 kB / 478.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1706, allocations: 117.2 kB / 478.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1707, allocations: 41.64 kB / 478.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1708, allocations: 0 / 478.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1711, allocations: 113 kB / 478.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1711, allocations: 0 / 478.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004738/0.1715, allocations: 192.9 kB / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.1716, allocations: 81.11 kB / 478.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1727, allocations: 1.007 MB / 479.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1727, allocations: 25.7 kB / 479.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1729, allocations: 228.1 kB / 480 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.173, allocations: 31.69 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.173, allocations: 17.72 kB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1732, allocations: 370.8 kB / 480.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.1733, allocations: 27.98 kB / 480.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.1734, allocations: 59.34 kB / 480.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1736, allocations: 83.92 kB / 480.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1736, allocations: 0 / 480.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003112/0.1739, allocations: 184.8 kB / 480.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.174, allocations: 4 kB / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.174, allocations: 0 / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.174, allocations: 4 kB / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1741, allocations: 19.98 kB / 480.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1741, allocations: 4 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.1742, allocations: 15.94 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1743, allocations: 4 kB / 480.8 MB, free: 4.512 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.0002336/0.1745, allocations: 226.2 kB / 481 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1746, allocations: 51.34 kB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.1747, allocations: 55.84 kB / 481.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1747, allocations: 7.938 kB / 481.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1747, allocations: 0 / 481.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1747, allocations: 0 / 481.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.175, allocations: 341.4 kB / 481.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.175, allocations: 0 / 481.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1751, allocations: 8 kB / 481.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1751, allocations: 0 / 481.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1751, allocations: 4 kB / 481.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1751, allocations: 0 / 481.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1751, allocations: 0 / 481.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1754, allocations: 213.2 kB / 481.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1756, allocations: 136.5 kB / 481.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.1756, allocations: 8 kB / 481.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.1757, allocations: 7.984 kB / 481.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1758, allocations: 11.92 kB / 481.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1758, allocations: 4.125 kB / 481.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007556/0.1766, allocations: 0.7526 MB / 482.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1766, allocations: 0 / 482.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1768, allocations: 40 kB / 482.6 MB, free: 2.566 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.001039/0.1779, allocations: 429.1 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1781, allocations: 79.89 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1782, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1783, allocations: 39.92 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1788, allocations: 66.7 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1801, allocations: 0.9284 MB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1806, allocations: 0.843 MB / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1807, allocations: 58.94 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.1808, allocations: 27.44 kB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1808, allocations: 0 / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of Templates: time 0.007711/0.1885, allocations: 3.422 MB / 488.5 MB, free: 12.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches