Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001774/0.001774, 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.002147/0.002147, 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.506/1.506, 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.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.2382/0.2382, allocations: 46.93 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.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.89 kB / 0.491 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 65.99 MB / 0.5555 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003509/0.1503, allocations: 1.729 MB / 0.5571 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1522, allocations: 1.034 MB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1523, allocations: 4 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.1527, allocations: 83.69 kB / 0.5582 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.1531, allocations: 119.5 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1534, allocations: 71.73 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.1537, allocations: 123.6 kB / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1538, allocations: 12 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1539, allocations: 51.77 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.154, allocations: 71.8 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.154, allocations: 4 kB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1542, allocations: 47.92 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.1542, allocations: 23.86 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1543, allocations: 35.73 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1546, allocations: 127.4 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1546, allocations: 0 / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1546, allocations: 0 / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1546, allocations: 0 / 0.5589 GB, free: 2.199 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.0006636/0.1553, allocations: 434.6 kB / 0.5593 GB, free: 1.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1553, allocations: 8.031 kB / 0.5593 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.1554, allocations: 38.69 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.1554, allocations: 24.81 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.1558, allocations: 212.1 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1558, allocations: 384 / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1558, allocations: 11.94 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.156, allocations: 49.67 kB / 0.5596 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.156, allocations: 0 / 0.5596 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.156, allocations: 4 kB / 0.5596 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.156, allocations: 4 kB / 0.5596 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1561, allocations: 23.92 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1566, allocations: 292.8 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1568, allocations: 54.67 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.1568, allocations: 24.8 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1568, allocations: 11.92 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.157, allocations: 67.33 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.157, allocations: 0 / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006334/0.1577, allocations: 181.3 kB / 0.5603 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1577, allocations: 55.39 kB / 0.5603 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1579, allocations: 223.4 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.158, allocations: 33.7 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.158, allocations: 104.1 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1581, allocations: 27.78 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.1581, allocations: 25.72 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1583, allocations: 322.8 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.1584, allocations: 20.36 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.1585, allocations: 37.7 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1586, allocations: 61.64 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1586, allocations: 4 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000213/0.1588, allocations: 105.6 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1588, allocations: 5.719 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1588, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1588, allocations: 4 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.1589, allocations: 19.92 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.159, allocations: 4.031 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.159, allocations: 7.938 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.159, allocations: 8 kB / 0.5613 GB, free: 15.49 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.0001182/0.1591, allocations: 124 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1592, allocations: 15.91 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.1592, allocations: 17.39 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1592, allocations: 4 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1592, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1592, allocations: 3.938 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.1597, allocations: 399.3 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1597, allocations: 0 / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.1598, allocations: 11.98 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1598, allocations: 7.875 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1598, allocations: 4 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1598, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1598, allocations: 4.125 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.16, allocations: 208.3 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1601, allocations: 85 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1601, allocations: 11.92 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.1602, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1602, allocations: 7.984 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1602, allocations: 7.984 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1604, allocations: 165.2 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 4 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1606, allocations: 23.94 kB / 0.5624 GB, free: 14.29 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.002233/0.1629, allocations: 1.097 MB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1631, allocations: 51.92 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1631, allocations: 0 / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.1632, allocations: 35.86 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1635, allocations: 37.2 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1656, allocations: 1.719 MB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1659, allocations: 0.7041 MB / 0.5659 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.166, allocations: 21.17 kB / 0.5659 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.1661, allocations: 43.36 kB / 0.566 GB, free: 10.63 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1661, allocations: 4 kB / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.1917, allocations: 3.575 MB / 0.5695 GB, free: 7.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.902, allocations: 11.94 kB / 0.5695 GB, free: 7.102 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.226221317992895]