Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 172.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007348/0.0007349, allocations: 84.53 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.327/0.327, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 12 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 58.84 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002814/0.1599, allocations: 1.48 MB / 492.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1621, allocations: 0.9032 MB / 493.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.1622, allocations: 0 / 493.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.1629, allocations: 299.4 kB / 493.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.1634, allocations: 207.5 kB / 494 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.164, allocations: 127.8 kB / 494.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.1644, allocations: 227.4 kB / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.1645, allocations: 21.53 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1648, allocations: 119.5 kB / 494.5 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.1651, allocations: 187.5 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.1651, allocations: 4 kB / 494.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1653, allocations: 35.97 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1655, allocations: 135.6 kB / 494.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1657, allocations: 176.4 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.1663, allocations: 350.9 kB / 495.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1663, allocations: 0 / 495.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1663, allocations: 0 / 495.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1663, allocations: 4 kB / 495.4 MB, free: 5.531 MB / 378.7 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.001192/0.1675, allocations: 0.6611 MB / 496.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1676, allocations: 8.031 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1677, allocations: 48.28 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.1686, allocations: 455.8 kB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1686, allocations: 4.312 kB / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1686, allocations: 12.12 kB / 496.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1689, allocations: 87.36 kB / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.169, allocations: 0 / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.169, allocations: 4 kB / 496.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.169, allocations: 7.938 kB / 496.7 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1692, allocations: 23.92 kB / 496.7 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.1698, allocations: 382.3 kB / 497.1 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1702, allocations: 105.2 kB / 497.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1704, allocations: 45.58 kB / 497.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1705, allocations: 0 / 497.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.1708, allocations: 105.1 kB / 497.3 MB, free: 3.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.1708, allocations: 0 / 497.3 MB, free: 3.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007483/0.1716, allocations: 204.9 kB / 497.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.1717, allocations: 81.11 kB / 497.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.1736, allocations: 1.026 MB / 498.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1736, allocations: 33.7 kB / 498.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.1739, allocations: 236 kB / 498.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.174, allocations: 23.66 kB / 498.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.1741, allocations: 7.938 kB / 498.9 MB, free: 1.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.1743, allocations: 366.8 kB / 499.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1745, allocations: 27.98 kB / 499.3 MB, free: 1.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1746, allocations: 63.41 kB / 499.4 MB, free: 1.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1749, allocations: 83.36 kB / 499.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.175, allocations: 0 / 499.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004903/0.1755, allocations: 169.4 kB / 499.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1755, allocations: 8 kB / 499.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1755, allocations: 4.062 kB / 499.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1755, allocations: 0 / 499.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1758, allocations: 27.92 kB / 499.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1758, allocations: 0 / 499.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.176, allocations: 20 kB / 499.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.176, allocations: 4 kB / 499.7 MB, free: 0.9688 MB / 378.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.1764, allocations: 221.6 kB / 499.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1765, allocations: 55.34 kB / 500 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.1767, allocations: 64 kB / 0.4883 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1767, allocations: 3.938 kB / 0.4883 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1767, allocations: 0 / 0.4883 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1767, allocations: 3.984 kB / 0.4883 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1773, allocations: 341.4 kB / 0.4886 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1773, allocations: 0 / 0.4886 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.1774, allocations: 19.86 kB / 0.4886 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1774, allocations: 0 / 0.4886 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1774, allocations: 4 kB / 0.4886 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1774, allocations: 0 / 0.4886 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.1775, allocations: 0 / 0.4886 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2529/0.4303, allocations: 202.5 kB / 0.4888 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.4306, allocations: 142.9 kB / 0.489 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.4307, allocations: 4.828 kB / 0.489 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4308, allocations: 6.406 kB / 0.489 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.4309, allocations: 9.594 kB / 0.489 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4309, allocations: 9.438 kB / 0.489 GB, free: 43.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009348/0.4318, allocations: 0.7661 MB / 0.4898 GB, free: 43.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4318, allocations: 0 / 0.4898 GB, free: 43.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.4322, allocations: 44.02 kB / 0.4898 GB, free: 43.23 MB / 378.7 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.0009768/0.4332, allocations: 487.2 kB / 0.4903 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.4336, allocations: 84.05 kB / 0.4903 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4336, allocations: 0.7188 kB / 0.4903 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4337, allocations: 42.44 kB / 0.4904 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.4342, allocations: 68.45 kB / 0.4904 GB, free: 43.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.4356, allocations: 0.9597 MB / 0.4914 GB, free: 42.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4359, allocations: 0.8389 MB / 0.4922 GB, free: 41.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.436, allocations: 58.06 kB / 0.4923 GB, free: 41.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.4361, allocations: 28.72 kB / 0.4923 GB, free: 41.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4361, allocations: 2.406 kB / 0.4923 GB, free: 41.93 MB / 378.7 MB Notification: Performance of Templates: time 0.007834/0.444, allocations: 3.467 MB / 0.4957 GB, free: 41.64 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches