Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001642/0.001642, 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.002021/0.002021, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2422/0.2422, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 0.491 GB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1466, allocations: 65.99 MB / 0.5555 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003279/0.1498, allocations: 1.721 MB / 0.5571 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1518, allocations: 1.038 MB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.1518, allocations: 4 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1522, allocations: 47.75 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1525, allocations: 103.5 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1527, allocations: 75.72 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.153, allocations: 103.6 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1531, allocations: 11.98 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1532, allocations: 47.78 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.1533, allocations: 31.84 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1533, allocations: 4 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1534, allocations: 51.91 kB / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1535, allocations: 27.86 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1535, allocations: 31.75 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1538, allocations: 131.4 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1538, allocations: 0 / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1538, allocations: 0 / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1538, allocations: 3.938 kB / 0.5588 GB, free: 2.281 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.0006495/0.1544, allocations: 438.5 kB / 0.5592 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1545, allocations: 11.97 kB / 0.5592 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1545, allocations: 38.75 kB / 0.5593 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1546, allocations: 8.891 kB / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1549, allocations: 224.8 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1549, allocations: 8.375 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1549, allocations: 7.938 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1551, allocations: 49.67 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1551, allocations: 7.984 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1551, allocations: 4 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1551, allocations: 0 / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.1552, allocations: 19.98 kB / 0.5596 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1556, allocations: 296.8 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1558, allocations: 54.67 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.1559, allocations: 20.84 kB / 0.5599 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1559, allocations: 0 / 0.5599 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1561, allocations: 79.31 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1561, allocations: 4 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006234/0.1567, allocations: 169.4 kB / 0.5602 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1568, allocations: 63.33 kB / 0.5602 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.157, allocations: 238 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.157, allocations: 25.7 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1571, allocations: 116.1 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1571, allocations: 19.86 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1572, allocations: 29.7 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1574, allocations: 326.8 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.1574, allocations: 15.98 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1575, allocations: 33.72 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1576, allocations: 61.72 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1576, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1578, allocations: 113.5 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1578, allocations: 5.719 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1578, allocations: 0 / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1579, allocations: 4 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.158, allocations: 15.94 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.158, allocations: 4.125 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.158, allocations: 15.92 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.158, allocations: 3.938 kB / 0.5612 GB, free: 15.55 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.0001401/0.1582, allocations: 136 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.1582, allocations: 15.91 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.1583, allocations: 17.41 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1583, allocations: 0 / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1583, allocations: 0 / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1583, allocations: 3.938 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.1588, allocations: 399.3 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1588, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.1589, allocations: 12 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1589, allocations: 11.95 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1589, allocations: 4 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1589, allocations: 3.938 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1589, allocations: 384 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1592, allocations: 196.3 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.1592, allocations: 93.02 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1593, allocations: 7.938 kB / 0.5621 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1593, allocations: 11.98 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.1594, allocations: 4 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1594, allocations: 8 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1596, allocations: 172.4 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1596, allocations: 0 / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1599, allocations: 23.94 kB / 0.5623 GB, free: 14.34 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.002335/0.1622, allocations: 1.099 MB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1624, allocations: 67.83 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1624, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.1625, allocations: 23.98 kB / 0.5635 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1629, allocations: 43.58 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.1651, allocations: 1.758 MB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1655, allocations: 0.7119 MB / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.1656, allocations: 12.89 kB / 0.5659 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.1657, allocations: 43.41 kB / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1657, allocations: 0 / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.1916, allocations: 3.64 MB / 0.5695 GB, free: 7.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.969, allocations: 10.81 kB / 0.5695 GB, free: 7.039 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.365057679009624]