Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 0.4887 GB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1507, allocations: 65.42 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003686/0.1543, allocations: 1.924 MB / 0.5544 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1564, allocations: 1.138 MB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.1565, allocations: 3.938 kB / 0.5555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.157, allocations: 223.4 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.1575, allocations: 223.2 kB / 0.556 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1577, allocations: 111.6 kB / 0.5561 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1581, allocations: 259.3 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1582, allocations: 29.84 kB / 0.5563 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1584, allocations: 123.5 kB / 0.5565 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.1586, allocations: 163.5 kB / 0.5566 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.1587, allocations: 12 kB / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1588, allocations: 67.95 kB / 0.5567 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.1589, allocations: 59.72 kB / 0.5567 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.159, allocations: 95.28 kB / 0.5568 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.1593, allocations: 246.8 kB / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1594, allocations: 0 / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1594, allocations: 0 / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1594, allocations: 0 / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008528/0.1602, allocations: 0.5717 MB / 0.5576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1603, allocations: 12.03 kB / 0.5576 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.179e-05/0.1603, allocations: 4.125 kB / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.1603, allocations: 42.75 kB / 0.5577 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.1604, allocations: 28.75 kB / 0.5577 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1608, allocations: 296.2 kB / 0.558 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1608, allocations: 20.05 kB / 0.558 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1608, allocations: 4 kB / 0.558 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1611, allocations: 109.5 kB / 0.5581 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1611, allocations: 0 / 0.5581 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1611, allocations: 0 / 0.5581 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1611, allocations: 11.98 kB / 0.5581 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1613, allocations: 47.91 kB / 0.5582 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.1619, allocations: 476.9 kB / 0.5586 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.1623, allocations: 117.2 kB / 0.5588 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1624, allocations: 41.81 kB / 0.5588 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1624, allocations: 4 kB / 0.5588 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1627, allocations: 121 kB / 0.5589 GB, free: 3.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1627, allocations: 0 / 0.5589 GB, free: 3.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001396/0.1641, allocations: 0.513 MB / 0.5594 GB, free: 2.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1641, allocations: 81.11 kB / 0.5595 GB, free: 2.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.1646, allocations: 440.5 kB / 0.5599 GB, free: 2.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1647, allocations: 33.7 kB / 0.5599 GB, free: 2.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1648, allocations: 164.4 kB / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.1649, allocations: 75.41 kB / 0.5602 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.1649, allocations: 45.7 kB / 0.5602 GB, free: 1.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1651, allocations: 342.8 kB / 0.5605 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1653, allocations: 55.98 kB / 0.5606 GB, free: 1.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1654, allocations: 97.52 kB / 0.5607 GB, free: 1.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.1657, allocations: 159.3 kB / 0.5608 GB, free: 1.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1657, allocations: 0 / 0.5608 GB, free: 1.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004701/0.1662, allocations: 241.5 kB / 0.5611 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1662, allocations: 4 kB / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1662, allocations: 0 / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1663, allocations: 8.062 kB / 0.5611 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1664, allocations: 47.92 kB / 0.5611 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1664, allocations: 0 / 0.5611 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.1665, allocations: 11.94 kB / 0.5611 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1666, allocations: 12 kB / 0.5611 GB, free: 0.8906 MB / 414.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002453/0.1668, allocations: 169.7 kB / 0.5613 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1669, allocations: 31.75 kB / 0.5613 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.167, allocations: 42.81 kB / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.167, allocations: 0 / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.167, allocations: 4 kB / 0.5614 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.167, allocations: 7.984 kB / 0.5614 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1681, allocations: 0.735 MB / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1681, allocations: 0 / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.1682, allocations: 36.11 kB / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1682, allocations: 4 kB / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1682, allocations: 11.98 kB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1682, allocations: 4.172 kB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.1683, allocations: 11.88 kB / 0.5622 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.1688, allocations: 419.2 kB / 0.5626 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1689, allocations: 100.9 kB / 0.5627 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.169, allocations: 15.94 kB / 0.5627 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1691, allocations: 7.984 kB / 0.5627 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.1692, allocations: 19.92 kB / 0.5627 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1692, allocations: 8 kB / 0.5627 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.1696, allocations: 339 kB / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1696, allocations: 0 / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.1701, allocations: 51.92 kB / 0.5631 GB, free: 14.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.0029/0.173, allocations: 1.362 MB / 0.5644 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.1733, allocations: 155.6 kB / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1733, allocations: 0 / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.1735, allocations: 80.2 kB / 0.5646 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.1741, allocations: 71.28 kB / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.1778, allocations: 2.888 MB / 0.5675 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1782, allocations: 0.7753 MB / 0.5683 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1784, allocations: 37.92 kB / 0.5683 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1785, allocations: 99.39 kB / 0.5684 GB, free: 9.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1785, allocations: 0 / 0.5684 GB, free: 9.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2022, allocations: 6.516 MB / 0.5748 GB, free: 2.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/8.89, allocations: 8.062 kB / 0.5748 GB, free: 2.895 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.204734692990314]