Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001564/0.001564, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002005/0.002005, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2285/0.2285, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.002031/0.002031, allocations: 71.89 kB / 499.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1561, allocations: 65.43 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004206/0.1603, allocations: 1.682 MB / 0.5535 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1623, allocations: 1.023 MB / 0.5545 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.1624, allocations: 0 / 0.5545 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.1628, allocations: 51.75 kB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1631, allocations: 99.59 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1634, allocations: 75.67 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1636, allocations: 99.69 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.1636, allocations: 8.219 kB / 0.5548 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1637, allocations: 43.73 kB / 0.5548 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.1638, allocations: 35.72 kB / 0.5549 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1638, allocations: 4 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.1639, allocations: 31.98 kB / 0.5549 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.164, allocations: 27.92 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.1641, allocations: 43.67 kB / 0.555 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1643, allocations: 123.7 kB / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1643, allocations: 0 / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1643, allocations: 0 / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1643, allocations: 4 kB / 0.5551 GB, free: 6.707 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007359/0.1651, allocations: 446.4 kB / 0.5555 GB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1651, allocations: 12.03 kB / 0.5555 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.1652, allocations: 34.73 kB / 0.5556 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1652, allocations: 16.89 kB / 0.5556 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1655, allocations: 217.1 kB / 0.5558 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1656, allocations: 4.375 kB / 0.5558 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1656, allocations: 3.938 kB / 0.5558 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1657, allocations: 49.61 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1658, allocations: 0 / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1658, allocations: 4 kB / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1658, allocations: 0 / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.1658, allocations: 15.98 kB / 0.5559 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.1661, allocations: 193.7 kB / 0.556 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1663, allocations: 54.55 kB / 0.5561 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.1663, allocations: 16.86 kB / 0.5561 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1663, allocations: 3.984 kB / 0.5561 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1665, allocations: 79.31 kB / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1665, allocations: 0 / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003024/0.1668, allocations: 97.58 kB / 0.5563 GB, free: 5.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.1669, allocations: 55.41 kB / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.1672, allocations: 275.7 kB / 0.5566 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1672, allocations: 25.7 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.1673, allocations: 112.1 kB / 0.5567 GB, free: 4.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.1673, allocations: 11.91 kB / 0.5567 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1673, allocations: 29.7 kB / 0.5568 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1675, allocations: 326.8 kB / 0.5571 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.1675, allocations: 15.98 kB / 0.5571 GB, free: 4.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.1676, allocations: 25.72 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.901e-05/0.1677, allocations: 45.7 kB / 0.5572 GB, free: 4.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1677, allocations: 3.938 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.1679, allocations: 89.53 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1679, allocations: 4 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1679, allocations: 3.938 kB / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1679, allocations: 3.938 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.168, allocations: 15.98 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.168, allocations: 0 / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.168, allocations: 3.953 kB / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.168, allocations: 4 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001484/0.1682, allocations: 147.9 kB / 0.5574 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1682, allocations: 11.91 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.1683, allocations: 20.98 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1683, allocations: 0 / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1683, allocations: 4 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1683, allocations: 0 / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1685, allocations: 197.6 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1685, allocations: 320 / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.1685, allocations: 7.984 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1685, allocations: 4 kB / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1685, allocations: 0 / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1685, allocations: 8 kB / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1685, allocations: 0 / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1687, allocations: 113 kB / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1688, allocations: 92.95 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1688, allocations: 0 / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.1689, allocations: 4 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1689, allocations: 7.922 kB / 0.5579 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1689, allocations: 8 kB / 0.5579 GB, free: 3.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.1691, allocations: 200.6 kB / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1691, allocations: 0 / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1693, allocations: 19.98 kB / 0.5581 GB, free: 3.281 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001989/0.1713, allocations: 0.9618 MB / 0.559 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1715, allocations: 43.92 kB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1715, allocations: 0 / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.1716, allocations: 12 kB / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1718, allocations: 34.72 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1739, allocations: 1.678 MB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1743, allocations: 0.7197 MB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1743, allocations: 12.55 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1744, allocations: 39.42 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1744, allocations: 0 / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.1989, allocations: 3.516 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.325, allocations: 12.75 kB / 0.565 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 11.597623387817293]