Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001788/0.001788, 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.001735/0.001735, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.472/1.472, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.83 kB / 0.491 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1424, allocations: 65.99 MB / 0.5555 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.004919/0.1474, allocations: 1.727 MB / 0.5571 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.1518, allocations: 1.643 MB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1519, allocations: 3.938 kB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.1523, allocations: 35.77 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.153, allocations: 111.5 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1533, allocations: 75.72 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1536, allocations: 107.6 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1538, allocations: 15.98 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1539, allocations: 51.77 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.1542, allocations: 43.83 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1542, allocations: 4 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.1545, allocations: 107.9 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.1546, allocations: 19.92 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1547, allocations: 35.73 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1552, allocations: 179.3 kB / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1552, allocations: 0 / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1552, allocations: 0 / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1552, allocations: 0 / 0.5595 GB, free: 1.574 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.0008947/0.1561, allocations: 422.7 kB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1561, allocations: 11.97 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.1562, allocations: 42.73 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.1562, allocations: 12.84 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.1568, allocations: 220.5 kB / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1568, allocations: 0 / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.1569, allocations: 7.938 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1571, allocations: 67.38 kB / 0.5603 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1572, allocations: 0 / 0.5603 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1572, allocations: 0 / 0.5603 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1572, allocations: 4 kB / 0.5603 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1573, allocations: 15.98 kB / 0.5603 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1579, allocations: 292.9 kB / 0.5606 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.1582, allocations: 58.61 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.1583, allocations: 16.86 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1583, allocations: 0 / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.1586, allocations: 75.39 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1586, allocations: 0 / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008942/0.1595, allocations: 181.3 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.1596, allocations: 81.05 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1598, allocations: 161.5 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.1599, allocations: 29.7 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.16, allocations: 100.1 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.16, allocations: 31.73 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1601, allocations: 25.66 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.1603, allocations: 326.8 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.704e-05/0.1604, allocations: 19.98 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1605, allocations: 42.5 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1608, allocations: 57.72 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1608, allocations: 4.406 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003492/0.1611, allocations: 101.6 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1611, allocations: 8 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1611, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.1612, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1613, allocations: 23.94 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.1613, allocations: 15.86 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.1614, allocations: 0 / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1614, allocations: 4 kB / 0.5619 GB, free: 14.9 MB / 430.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.0001591/0.1616, allocations: 124.1 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.1616, allocations: 7.953 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.1617, allocations: 20.7 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1617, allocations: 3.938 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1617, allocations: 0 / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1617, allocations: 0 / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.1625, allocations: 399.3 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1625, allocations: 7.969 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.1626, allocations: 8 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1626, allocations: 0 / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1626, allocations: 3.984 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1626, allocations: 4 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1626, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.1631, allocations: 204.3 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.1631, allocations: 89 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1632, allocations: 4 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1633, allocations: 7.984 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.1634, allocations: 4 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.1634, allocations: 4 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1636, allocations: 127.2 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1636, allocations: 0 / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.1642, allocations: 43.88 kB / 0.5629 GB, free: 13.76 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: 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.003952/0.1681, allocations: 1.196 MB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.1685, allocations: 59.91 kB / 0.5641 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.1685, allocations: 4 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1687, allocations: 19.98 kB / 0.5641 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.1693, allocations: 31.92 kB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.1726, allocations: 1.591 MB / 0.5657 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.1731, allocations: 0.7012 MB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1733, allocations: 21.17 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1734, allocations: 39.41 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1734, allocations: 0 / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.2078, allocations: 4.059 MB / 0.5704 GB, free: 6.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.163, allocations: 7.938 kB / 0.5704 GB, free: 6.113 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_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_1_0_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.30047717000707]