Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001355/0.001355, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001393/0.001393, allocations: 204.3 kB / 20.74 MB, free: 2.414 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.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2173/0.2173, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1497, allocations: 66 MB / 0.5555 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003247/0.1529, allocations: 1.76 MB / 0.5572 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1547, allocations: 1.037 MB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.1548, allocations: 4 kB / 0.5582 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.1552, allocations: 91.67 kB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1556, allocations: 119.5 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1558, allocations: 79.73 kB / 0.5585 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.156, allocations: 127.6 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1561, allocations: 7.984 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1563, allocations: 63.75 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1564, allocations: 71.73 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1564, allocations: 8 kB / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1565, allocations: 63.92 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1566, allocations: 23.91 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1566, allocations: 43.67 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1569, allocations: 135.4 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1569, allocations: 0 / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1569, allocations: 0 / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1569, allocations: 0 / 0.559 GB, free: 2.133 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.0006693/0.1576, allocations: 454.4 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1576, allocations: 12.03 kB / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1577, allocations: 38.69 kB / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1577, allocations: 16.84 kB / 0.5595 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.158, allocations: 220.9 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1581, allocations: 4.375 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1581, allocations: 3.938 kB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1582, allocations: 57.67 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1583, allocations: 3.984 kB / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1583, allocations: 4 kB / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1583, allocations: 4 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1584, allocations: 27.92 kB / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1588, allocations: 304.7 kB / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1591, allocations: 58.55 kB / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1591, allocations: 16.98 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1591, allocations: 7.984 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1593, allocations: 71.33 kB / 0.5603 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1593, allocations: 3.938 kB / 0.5603 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007847/0.1601, allocations: 241.8 kB / 0.5605 GB, free: 440 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1601, allocations: 59.33 kB / 0.5605 GB, free: 368 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1604, allocations: 242 kB / 0.5608 GB, free: 116 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1604, allocations: 33.7 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.1605, allocations: 112.1 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1605, allocations: 31.75 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.1606, allocations: 29.7 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1607, allocations: 326.8 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.1608, allocations: 27.98 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.1609, allocations: 41.7 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1611, allocations: 85.64 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1611, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000231/0.1613, allocations: 129.5 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1613, allocations: 13.81 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1613, allocations: 0 / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1613, allocations: 0 / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.1614, allocations: 27.92 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1614, allocations: 240 / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.1615, allocations: 4.031 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1615, allocations: 8 kB / 0.5616 GB, free: 15.22 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 (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.0001359/0.1616, allocations: 138.2 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1617, allocations: 19.89 kB / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.1617, allocations: 25.38 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1617, allocations: 3.938 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1617, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1617, allocations: 4 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.1623, allocations: 460 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1623, allocations: 0 / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.1624, allocations: 12 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1624, allocations: 4 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1624, allocations: 3.984 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1624, allocations: 4 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1624, allocations: 0 / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1627, allocations: 241.1 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1627, allocations: 92.95 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1628, allocations: 7.984 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.1628, allocations: 12 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1629, allocations: 7.984 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1629, allocations: 4 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1631, allocations: 180.4 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1631, allocations: 0 / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1633, allocations: 27.94 kB / 0.5628 GB, free: 13.88 MB / 430.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.002506/0.1658, allocations: 1.177 MB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1661, allocations: 67.91 kB / 0.564 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1661, allocations: 4 kB / 0.564 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.1662, allocations: 35.92 kB / 0.5641 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1666, allocations: 27.73 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1689, allocations: 1.863 MB / 0.5659 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1693, allocations: 0.7119 MB / 0.5666 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.797e-05/0.1693, allocations: 24.62 kB / 0.5666 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.1694, allocations: 47.42 kB / 0.5667 GB, free: 9.984 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1694, allocations: 0 / 0.5667 GB, free: 9.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1962, allocations: 3.975 MB / 0.5705 GB, free: 6.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.074, allocations: 8 kB / 0.5706 GB, free: 6.059 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.299089317006292]