Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001346/0.001346, 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.001614/0.001614, 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.5/1.5, 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.2254/0.2254, allocations: 44.91 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.002012/0.002012, allocations: 67.89 kB / 499.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1503, allocations: 65.43 MB / 0.5519 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003127/0.1535, allocations: 1.758 MB / 0.5536 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1552, allocations: 1.037 MB / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.1553, allocations: 3.938 kB / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1556, allocations: 107.7 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1559, allocations: 123.5 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1561, allocations: 79.67 kB / 0.5549 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1563, allocations: 127.6 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.1564, allocations: 12.27 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.1565, allocations: 67.75 kB / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1566, allocations: 71.73 kB / 0.5551 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1566, allocations: 4 kB / 0.5552 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1567, allocations: 55.98 kB / 0.5552 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.1568, allocations: 35.83 kB / 0.5552 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.1568, allocations: 39.69 kB / 0.5553 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1571, allocations: 151.3 kB / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1571, allocations: 3.984 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1571, allocations: 0 / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1571, allocations: 0 / 0.5554 GB, free: 6.363 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.0006474/0.1577, allocations: 450.5 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1578, allocations: 8.031 kB / 0.5559 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.1578, allocations: 34.75 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1579, allocations: 16.83 kB / 0.5559 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1582, allocations: 231.8 kB / 0.5561 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1582, allocations: 4.375 kB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1582, allocations: 11.89 kB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1584, allocations: 61.66 kB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1584, allocations: 4 kB / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1584, allocations: 0 / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1584, allocations: 4 kB / 0.5562 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.1585, allocations: 19.98 kB / 0.5562 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1589, allocations: 316.7 kB / 0.5565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1591, allocations: 54.55 kB / 0.5566 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.1592, allocations: 24.98 kB / 0.5566 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1592, allocations: 0 / 0.5566 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1594, allocations: 79.25 kB / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1594, allocations: 0 / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007812/0.1602, allocations: 245.2 kB / 0.5569 GB, free: 4.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1602, allocations: 59.34 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1605, allocations: 255.2 kB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1605, allocations: 25.7 kB / 0.5572 GB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1606, allocations: 112.1 kB / 0.5574 GB, free: 4.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1606, allocations: 35.69 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1606, allocations: 25.72 kB / 0.5574 GB, free: 4.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1608, allocations: 330.8 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1609, allocations: 31.98 kB / 0.5578 GB, free: 3.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.161, allocations: 49.7 kB / 0.5578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1611, allocations: 81.64 kB / 0.5579 GB, free: 3.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1611, allocations: 0 / 0.5579 GB, free: 3.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002353/0.1613, allocations: 129.5 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1614, allocations: 4 kB / 0.558 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1614, allocations: 0 / 0.558 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1614, allocations: 7.984 kB / 0.558 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.1615, allocations: 23.97 kB / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1615, allocations: 0 / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1615, allocations: 7.984 kB / 0.558 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1615, allocations: 8 kB / 0.5581 GB, free: 3.418 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 (13): * Single equations (assignments): 13 * 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.0001278/0.1616, allocations: 133.8 kB / 0.5582 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1617, allocations: 19.84 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.1617, allocations: 17.41 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1617, allocations: 7.938 kB / 0.5582 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1617, allocations: 0 / 0.5582 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1617, allocations: 7.984 kB / 0.5582 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.1623, allocations: 456 kB / 0.5587 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1623, allocations: 0 / 0.5587 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.1624, allocations: 15.94 kB / 0.5587 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1624, allocations: 0 / 0.5587 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1624, allocations: 8.094 kB / 0.5587 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1624, allocations: 7.875 kB / 0.5587 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1624, allocations: 8.062 kB / 0.5587 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1627, allocations: 233 kB / 0.5589 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1627, allocations: 89.02 kB / 0.559 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1628, allocations: 8 kB / 0.559 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.1628, allocations: 3.984 kB / 0.559 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1629, allocations: 8 kB / 0.559 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1629, allocations: 11.98 kB / 0.559 GB, free: 2.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1631, allocations: 187.2 kB / 0.5592 GB, free: 2.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1631, allocations: 0 / 0.5592 GB, free: 2.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1634, allocations: 27.94 kB / 0.5592 GB, free: 2.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002426/0.1658, allocations: 1.188 MB / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.166, allocations: 71.91 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.166, allocations: 0 / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.1661, allocations: 39.92 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1665, allocations: 40.22 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.1688, allocations: 1.886 MB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1692, allocations: 0.7275 MB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.1692, allocations: 20.62 kB / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.1693, allocations: 43.42 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1693, allocations: 0 / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.1969, allocations: 4.063 MB / 0.5671 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.088, allocations: 11.95 kB / 0.5671 GB, free: 10.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.389162339735776]