Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.00147/0.001471, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.555/1.555, allocations: 222.9 MB / 243 MB, free: 15.14 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.2666/0.2666, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.98 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00531/0.1524, allocations: 1.782 MB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1553, allocations: 0.9588 MB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1555, allocations: 11.88 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.1563, allocations: 307.3 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.1569, allocations: 203.4 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.1577, allocations: 174.5 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.1582, allocations: 239.4 kB / 474.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.1583, allocations: 17.53 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.1586, allocations: 123.6 kB / 474.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.159, allocations: 195.4 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1591, allocations: 4 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1593, allocations: 51.98 kB / 474.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1595, allocations: 127.6 kB / 474.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1597, allocations: 146.8 kB / 475 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.1603, allocations: 370.6 kB / 475.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1604, allocations: 0 / 475.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1604, allocations: 0 / 475.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1604, allocations: 4 kB / 475.4 MB, free: 8.961 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.00143/0.1618, allocations: 0.723 MB / 476.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1619, allocations: 8.031 kB / 476.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1621, allocations: 56.28 kB / 476.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1631, allocations: 447.8 kB / 476.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1631, allocations: 4.375 kB / 476.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1632, allocations: 8.125 kB / 476.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.1635, allocations: 83.36 kB / 476.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1635, allocations: 3.938 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1635, allocations: 0 / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1636, allocations: 0 / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1638, allocations: 35.92 kB / 476.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.1644, allocations: 374.4 kB / 477.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.1649, allocations: 101.2 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1651, allocations: 57.55 kB / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1652, allocations: 3.938 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/0.1656, allocations: 113 kB / 477.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.1656, allocations: 0 / 477.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008503/0.1665, allocations: 205 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.1665, allocations: 81.11 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.1684, allocations: 1.034 MB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1685, allocations: 25.7 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.1688, allocations: 232.1 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.1689, allocations: 35.48 kB / 479 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.169, allocations: 29.7 kB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.1693, allocations: 374.8 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1694, allocations: 27.98 kB / 479.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1696, allocations: 47.42 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1699, allocations: 95.34 kB / 479.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.17, allocations: 0 / 479.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005431/0.1705, allocations: 165 kB / 479.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1706, allocations: 4 kB / 479.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1706, allocations: 0 / 479.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.1706, allocations: 4 kB / 479.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1708, allocations: 27.92 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1709, allocations: 0.625 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1711, allocations: 19.95 kB / 479.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1711, allocations: 4 kB / 479.8 MB, free: 4.297 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.0003646/0.1715, allocations: 225.6 kB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1716, allocations: 51.34 kB / 480 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1718, allocations: 60 kB / 480.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1718, allocations: 4 kB / 480.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1718, allocations: 0 / 480.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1718, allocations: 0 / 480.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.1724, allocations: 349.3 kB / 480.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1724, allocations: 4 kB / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.1725, allocations: 11.94 kB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1725, allocations: 0 / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1725, allocations: 4 kB / 480.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1725, allocations: 3.984 kB / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1725, allocations: 0 / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.1732, allocations: 213.1 kB / 480.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.1735, allocations: 136.5 kB / 480.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.1735, allocations: 4 kB / 480.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1737, allocations: 11.98 kB / 480.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.1738, allocations: 4 kB / 480.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.1738, allocations: 7.984 kB / 480.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.1753, allocations: 0.7682 MB / 481.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1753, allocations: 0 / 481.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.1758, allocations: 40 kB / 481.6 MB, free: 2.32 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.001718/0.1776, allocations: 421.4 kB / 482 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.178, allocations: 83.84 kB / 482.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.178, allocations: 3.938 kB / 482.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.1782, allocations: 35.98 kB / 482.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.1789, allocations: 76.61 kB / 482.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1811, allocations: 0.8744 MB / 483.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.1818, allocations: 0.8427 MB / 484 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.1821, allocations: 55.45 kB / 484 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1822, allocations: 31.42 kB / 484 MB, free: 16 kB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1822, allocations: 0 / 484 MB, free: 16 kB / 350.1 MB Notification: Performance of Templates: time 0.01468/0.1969, allocations: 3.716 MB / 487.8 MB, free: 12.32 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches