Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001373/0.001373, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001381/0.001381, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.355/0.355, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.002068/0.002068, allocations: 71.88 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1579, allocations: 65.42 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003333/0.1613, allocations: 1.69 MB / 0.5535 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1631, allocations: 1.023 MB / 0.5545 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.1632, allocations: 0 / 0.5545 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1635, allocations: 55.75 kB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1638, allocations: 95.61 kB / 0.5546 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.164, allocations: 79.66 kB / 0.5547 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1642, allocations: 91.7 kB / 0.5548 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1642, allocations: 8.234 kB / 0.5548 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.1643, allocations: 47.7 kB / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/0.1644, allocations: 35.8 kB / 0.5549 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1644, allocations: 0 / 0.5549 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.1645, allocations: 31.98 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.1646, allocations: 27.91 kB / 0.5549 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.1646, allocations: 47.61 kB / 0.555 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1649, allocations: 123.7 kB / 0.5551 GB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1649, allocations: 3.938 kB / 0.5551 GB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1649, allocations: 0 / 0.5551 GB, free: 6.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1649, allocations: 0 / 0.5551 GB, free: 6.691 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.0006374/0.1655, allocations: 442.5 kB / 0.5555 GB, free: 6.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1656, allocations: 11.97 kB / 0.5555 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1656, allocations: 30.75 kB / 0.5556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1656, allocations: 16.89 kB / 0.5556 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1659, allocations: 225.1 kB / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1659, allocations: 4.359 kB / 0.5558 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.166, allocations: 3.938 kB / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1661, allocations: 49.62 kB / 0.5558 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1661, allocations: 0 / 0.5558 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1661, allocations: 3.984 kB / 0.5558 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1661, allocations: 0 / 0.5558 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.1662, allocations: 12 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1664, allocations: 197.7 kB / 0.556 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1666, allocations: 50.55 kB / 0.5561 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.1667, allocations: 16.86 kB / 0.5561 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1667, allocations: 0 / 0.5561 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1668, allocations: 79.33 kB / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1668, allocations: 0 / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003017/0.1671, allocations: 101.6 kB / 0.5563 GB, free: 5.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1672, allocations: 51.41 kB / 0.5563 GB, free: 5.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1675, allocations: 275.7 kB / 0.5566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1675, allocations: 25.7 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.1676, allocations: 112.1 kB / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1676, allocations: 15.91 kB / 0.5567 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1677, allocations: 25.7 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1678, allocations: 326.8 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1679, allocations: 15.94 kB / 0.5571 GB, free: 4.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.1679, allocations: 29.7 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.168, allocations: 41.7 kB / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.168, allocations: 3.938 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.1682, allocations: 93.52 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1682, allocations: 6.031 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1682, allocations: 0 / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1682, allocations: 4 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.1683, allocations: 11.98 kB / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1683, allocations: 3.938 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1684, allocations: 7.953 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1684, allocations: 7.938 kB / 0.5573 GB, free: 4.188 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.0001466/0.1685, allocations: 143.9 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1685, allocations: 15.91 kB / 0.5574 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.1686, allocations: 16.98 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1686, allocations: 4 kB / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1686, allocations: 0 / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1686, allocations: 0 / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1688, allocations: 201.5 kB / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1688, allocations: 320 / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.1688, allocations: 4 kB / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1688, allocations: 0 / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1688, allocations: 11.98 kB / 0.5577 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1688, allocations: 4 kB / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1688, allocations: 0 / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1691, allocations: 109 kB / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.1691, allocations: 96.94 kB / 0.5579 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1691, allocations: 4 kB / 0.5579 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.1692, allocations: 0 / 0.5579 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1692, allocations: 11.94 kB / 0.5579 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1692, allocations: 7.984 kB / 0.5579 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1694, allocations: 200.6 kB / 0.5581 GB, free: 3.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1694, allocations: 0 / 0.5581 GB, free: 3.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.1697, allocations: 16 kB / 0.5581 GB, free: 3.266 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.001976/0.1716, allocations: 0.9456 MB / 0.559 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1718, allocations: 47.91 kB / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1718, allocations: 0 / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.1719, allocations: 16 kB / 0.5591 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1721, allocations: 37.09 kB / 0.5591 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1741, allocations: 1.678 MB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1745, allocations: 0.7197 MB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.1745, allocations: 16.53 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.1746, allocations: 35.42 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1746, allocations: 0 / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.1995, allocations: 3.516 MB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.071, allocations: 11.78 kB / 0.565 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.41019241977483]