Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001625/0.001625, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001761/0.001761, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.558/1.558, 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.2451/0.2451, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 68.05 kB / 0.491 GB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 65.98 MB / 0.5554 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004164/0.1532, allocations: 1.745 MB / 0.5571 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1554, allocations: 1.03 MB / 0.5582 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1555, allocations: 3.938 kB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1558, allocations: 83.7 kB / 0.5582 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.1562, allocations: 119.6 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1565, allocations: 79.66 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1567, allocations: 119.7 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1568, allocations: 8 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.157, allocations: 55.77 kB / 0.5586 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1571, allocations: 63.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1571, allocations: 4 kB / 0.5587 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1572, allocations: 47.97 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1573, allocations: 23.86 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.1574, allocations: 43.73 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1576, allocations: 123.4 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1576, allocations: 3.938 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1576, allocations: 0 / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1576, allocations: 0 / 0.5589 GB, free: 2.207 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.0006886/0.1583, allocations: 426.6 kB / 0.5593 GB, free: 1.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1584, allocations: 8.031 kB / 0.5593 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1584, allocations: 42.73 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1585, allocations: 12.84 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1588, allocations: 220.1 kB / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1589, allocations: 4.375 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1589, allocations: 11.88 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1591, allocations: 53.61 kB / 0.5596 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1591, allocations: 4 kB / 0.5596 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1591, allocations: 4 kB / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1591, allocations: 0 / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.1592, allocations: 19.98 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.1597, allocations: 288.8 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1598, allocations: 66.61 kB / 0.56 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.1599, allocations: 24.83 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1599, allocations: 3.938 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1601, allocations: 71.39 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1601, allocations: 0 / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006298/0.1607, allocations: 181.3 kB / 0.5603 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1608, allocations: 51.41 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.161, allocations: 227.4 kB / 0.5605 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1611, allocations: 25.7 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1611, allocations: 104.1 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1612, allocations: 27.78 kB / 0.5607 GB, free: 152 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1612, allocations: 29.72 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1614, allocations: 322.8 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.1615, allocations: 23.98 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.1616, allocations: 37.64 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1617, allocations: 57.7 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1617, allocations: 0 / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.1619, allocations: 109.5 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1619, allocations: 9.875 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1619, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1619, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.162, allocations: 15.98 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.162, allocations: 4.156 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1621, allocations: 3.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1621, allocations: 11.98 kB / 0.5613 GB, free: 15.5 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.000122/0.1622, allocations: 136 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1623, allocations: 11.91 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.1623, allocations: 25.39 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1623, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1623, allocations: 192 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1623, allocations: 3.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.1628, allocations: 399.3 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1628, allocations: 0 / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.1628, allocations: 8 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1628, allocations: 7.969 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1629, allocations: 384 / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1629, allocations: 4 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1629, allocations: 7.938 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1631, allocations: 208.2 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1632, allocations: 89.05 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1632, allocations: 7.938 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1633, allocations: 8 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1633, allocations: 7.984 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1633, allocations: 4 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1635, allocations: 161.2 kB / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1635, allocations: 0 / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1637, allocations: 31.92 kB / 0.5624 GB, free: 14.3 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.00213/0.1658, allocations: 1.082 MB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.166, allocations: 59.95 kB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1661, allocations: 0 / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1661, allocations: 31.88 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1665, allocations: 39.95 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1684, allocations: 1.722 MB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1688, allocations: 0.708 MB / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.1688, allocations: 8.891 kB / 0.5659 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.1689, allocations: 39.42 kB / 0.566 GB, free: 10.65 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1689, allocations: 0 / 0.566 GB, free: 10.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1943, allocations: 3.595 MB / 0.5695 GB, free: 7.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.93, allocations: 3.938 kB / 0.5695 GB, free: 7.117 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.348707340002875]