Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.00182/0.00182, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002167/0.002167, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.614/1.614, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2158/0.2158, allocations: 44.91 MB / 355.1 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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",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.001955/0.001955, allocations: 67.89 kB / 499.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 65.43 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003321/0.1535, allocations: 1.828 MB / 0.5536 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1554, allocations: 1.109 MB / 0.5547 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.1554, allocations: 7.938 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.156, allocations: 307.3 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.1565, allocations: 255.2 kB / 0.5552 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1567, allocations: 111.6 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.157, allocations: 259.2 kB / 0.5556 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.1571, allocations: 17.67 kB / 0.5556 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1573, allocations: 135.5 kB / 0.5557 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1575, allocations: 223.4 kB / 0.5559 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1575, allocations: 4 kB / 0.5559 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.1576, allocations: 40 kB / 0.556 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1578, allocations: 143.5 kB / 0.5561 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1579, allocations: 150.8 kB / 0.5563 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.1584, allocations: 386.5 kB / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1584, allocations: 0 / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1584, allocations: 0 / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1584, allocations: 4 kB / 0.5566 GB, free: 5.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001022/0.1594, allocations: 0.7616 MB / 0.5574 GB, free: 4.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1594, allocations: 8.031 kB / 0.5574 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1595, allocations: 38.75 kB / 0.5574 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.1596, allocations: 48.61 kB / 0.5575 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.1602, allocations: 460.3 kB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1602, allocations: 12.3 kB / 0.5579 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1602, allocations: 11.92 kB / 0.5579 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1604, allocations: 83.38 kB / 0.558 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1605, allocations: 3.938 kB / 0.558 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1605, allocations: 0 / 0.558 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1605, allocations: 0 / 0.558 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1606, allocations: 31.97 kB / 0.558 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.161, allocations: 382.3 kB / 0.5584 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1613, allocations: 113.1 kB / 0.5585 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1614, allocations: 37.69 kB / 0.5586 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1614, allocations: 4 kB / 0.5586 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1617, allocations: 105 kB / 0.5587 GB, free: 2.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1617, allocations: 0 / 0.5587 GB, free: 2.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005155/0.1622, allocations: 205.7 kB / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1622, allocations: 81.11 kB / 0.5589 GB, free: 2.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1635, allocations: 1.054 MB / 0.56 GB, free: 1.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1635, allocations: 29.7 kB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1637, allocations: 236.1 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1637, allocations: 35.73 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1638, allocations: 21.72 kB / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.164, allocations: 374.8 kB / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.1641, allocations: 27.98 kB / 0.5607 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1642, allocations: 55.42 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.1644, allocations: 91.34 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1644, allocations: 3.938 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003324/0.1647, allocations: 173.2 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1647, allocations: 8.062 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1648, allocations: 0 / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1648, allocations: 4 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1649, allocations: 19.98 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1649, allocations: 4 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.165, allocations: 15.92 kB / 0.561 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.165, allocations: 4 kB / 0.561 GB, free: 324 kB / 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.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.0002444/0.1652, allocations: 227.8 kB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1653, allocations: 63.62 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.1654, allocations: 56.22 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1654, allocations: 7.938 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1654, allocations: 192 / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1654, allocations: 0 / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1658, allocations: 353.2 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1658, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.1658, allocations: 11.98 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1658, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1659, allocations: 11.98 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1659, allocations: 0 / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1659, allocations: 4 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1662, allocations: 205.5 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1664, allocations: 140.8 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1664, allocations: 3.984 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.1665, allocations: 8 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1665, allocations: 11.98 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1666, allocations: 4 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009412/0.1675, allocations: 0.7878 MB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1675, allocations: 0 / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1678, allocations: 40 kB / 0.5629 GB, free: 14.3 MB / 430.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.002094/0.1699, allocations: 1.065 MB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1701, allocations: 79.89 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1701, allocations: 0 / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1702, allocations: 35.92 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1707, allocations: 65.08 kB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.1768, allocations: 4.571 MB / 0.5686 GB, free: 8.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.1773, allocations: 0.8427 MB / 0.5694 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.1775, allocations: 63.44 kB / 0.5694 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.1777, allocations: 151.4 kB / 0.5696 GB, free: 7.441 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1777, allocations: 0 / 0.5696 GB, free: 7.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.2122, allocations: 9.158 MB / 0.5785 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.803/9.015, allocations: 0 / 0.5785 GB, free: 14.36 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.369503465015441]