Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001715/0.001715, allocations: 124.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.002019/0.002019, allocations: 203.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.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2349/0.2349, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001979/0.001979, allocations: 71.89 kB / 499.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1507, allocations: 65.42 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003386/0.1541, allocations: 1.731 MB / 0.5535 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1567, allocations: 1.647 MB / 0.5551 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1568, allocations: 7.938 kB / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1571, allocations: 35.77 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1574, allocations: 103.5 kB / 0.5553 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.1576, allocations: 79.72 kB / 0.5554 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1578, allocations: 107.6 kB / 0.5555 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1579, allocations: 12.28 kB / 0.5555 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.158, allocations: 51.77 kB / 0.5555 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1582, allocations: 39.83 kB / 0.5556 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1582, allocations: 8 kB / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1584, allocations: 107.9 kB / 0.5557 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1585, allocations: 23.92 kB / 0.5557 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.1585, allocations: 31.8 kB / 0.5557 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1588, allocations: 175.2 kB / 0.5559 GB, free: 5.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1588, allocations: 4 kB / 0.5559 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1588, allocations: 4 kB / 0.5559 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1589, allocations: 0 / 0.5559 GB, free: 5.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007066/0.1596, allocations: 422.6 kB / 0.5563 GB, free: 5.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1596, allocations: 12.03 kB / 0.5563 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.1596, allocations: 34.75 kB / 0.5563 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.1597, allocations: 16.83 kB / 0.5564 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1601, allocations: 219.3 kB / 0.5566 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1601, allocations: 11.94 kB / 0.5566 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1601, allocations: 3.938 kB / 0.5566 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1603, allocations: 67.39 kB / 0.5566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1604, allocations: 0 / 0.5566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1604, allocations: 0 / 0.5566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1604, allocations: 0 / 0.5566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.1605, allocations: 19.98 kB / 0.5567 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1609, allocations: 292.9 kB / 0.5569 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1611, allocations: 50.62 kB / 0.557 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1612, allocations: 20.84 kB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1612, allocations: 4 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.1614, allocations: 71.39 kB / 0.5571 GB, free: 4.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1614, allocations: 0 / 0.5571 GB, free: 4.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006749/0.1621, allocations: 173.4 kB / 0.5572 GB, free: 4.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1622, allocations: 89.05 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1624, allocations: 161.5 kB / 0.5575 GB, free: 4.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1624, allocations: 29.64 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.1625, allocations: 104.1 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1625, allocations: 27.75 kB / 0.5576 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.1626, allocations: 29.7 kB / 0.5577 GB, free: 3.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1627, allocations: 326.8 kB / 0.558 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.1628, allocations: 16 kB / 0.558 GB, free: 3.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1629, allocations: 42.56 kB / 0.558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.163, allocations: 61.77 kB / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.163, allocations: 0 / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.1632, allocations: 101.6 kB / 0.5582 GB, free: 3.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1632, allocations: 7.984 kB / 0.5582 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1632, allocations: 0 / 0.5582 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1632, allocations: 4 kB / 0.5582 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1634, allocations: 23.88 kB / 0.5582 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1634, allocations: 0 / 0.5582 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.1634, allocations: 4 kB / 0.5582 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1634, allocations: 3.984 kB / 0.5582 GB, free: 3.234 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 (10): * Single equations (assignments): 10 * 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.0001205/0.1635, allocations: 124.1 kB / 0.5584 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1636, allocations: 7.953 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.1636, allocations: 16.72 kB / 0.5584 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1636, allocations: 11.92 kB / 0.5584 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1636, allocations: 3.938 kB / 0.5584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1636, allocations: 0 / 0.5584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1642, allocations: 395.3 kB / 0.5588 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1642, allocations: 3.938 kB / 0.5588 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.1642, allocations: 12.03 kB / 0.5588 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1642, allocations: 0 / 0.5588 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1642, allocations: 4 kB / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1642, allocations: 384 / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1642, allocations: 0 / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1645, allocations: 208.2 kB / 0.559 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1645, allocations: 92.98 kB / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1646, allocations: 8 kB / 0.5591 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1647, allocations: 8 kB / 0.5591 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1647, allocations: 7.984 kB / 0.5591 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1647, allocations: 4 kB / 0.5591 GB, free: 2.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1648, allocations: 123.4 kB / 0.5592 GB, free: 2.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1648, allocations: 0 / 0.5592 GB, free: 2.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1652, allocations: 51.8 kB / 0.5593 GB, free: 2.07 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002581/0.1677, allocations: 1.186 MB / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.168, allocations: 63.89 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.168, allocations: 0 / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.1681, allocations: 23.98 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1685, allocations: 27.27 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1705, allocations: 1.596 MB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1709, allocations: 0.6924 MB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.109e-05/0.171, allocations: 24.86 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.1711, allocations: 47.34 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1711, allocations: 0 / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.1995, allocations: 4.049 MB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.217, allocations: 4.062 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.594578873831779]