Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001276/0.001276, allocations: 124.5 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.001411/0.001411, allocations: 211.2 kB / 20.75 MB, free: 2.312 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.524/1.524, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 44.91 MB / 355.1 MB, free: 12.39 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 499.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.153, allocations: 65.43 MB / 0.5519 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003967/0.1569, allocations: 1.77 MB / 0.5536 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1589, allocations: 1.044 MB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.159, allocations: 0 / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1594, allocations: 107.6 kB / 0.5547 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1597, allocations: 123.5 kB / 0.5548 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.16, allocations: 87.66 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1602, allocations: 139.6 kB / 0.555 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1603, allocations: 17.62 kB / 0.5551 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1605, allocations: 71.69 kB / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1606, allocations: 79.72 kB / 0.5552 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1606, allocations: 4 kB / 0.5552 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1608, allocations: 55.98 kB / 0.5553 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.1609, allocations: 35.84 kB / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.1609, allocations: 51.67 kB / 0.5553 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1613, allocations: 163.3 kB / 0.5555 GB, free: 6.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1613, allocations: 4 kB / 0.5555 GB, free: 6.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1613, allocations: 0 / 0.5555 GB, free: 6.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1613, allocations: 0 / 0.5555 GB, free: 6.27 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008163/0.1621, allocations: 474.2 kB / 0.556 GB, free: 5.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1622, allocations: 8.031 kB / 0.556 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.1622, allocations: 30.75 kB / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1623, allocations: 16.84 kB / 0.556 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1626, allocations: 233 kB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1626, allocations: 8.375 kB / 0.5562 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1626, allocations: 11.88 kB / 0.5562 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1628, allocations: 73.59 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1628, allocations: 3.953 kB / 0.5563 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1629, allocations: 0 / 0.5563 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1629, allocations: 7.984 kB / 0.5563 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.163, allocations: 43.91 kB / 0.5564 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1634, allocations: 328.7 kB / 0.5567 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1637, allocations: 78.53 kB / 0.5568 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.1638, allocations: 20.84 kB / 0.5568 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1638, allocations: 4 kB / 0.5568 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.164, allocations: 75.33 kB / 0.5569 GB, free: 4.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.164, allocations: 0 / 0.5569 GB, free: 4.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009107/0.1649, allocations: 309 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1649, allocations: 51.41 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1652, allocations: 263.7 kB / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1652, allocations: 29.7 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.1653, allocations: 112.1 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.1654, allocations: 55.72 kB / 0.5576 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.1654, allocations: 34.55 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1656, allocations: 330.8 kB / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.1657, allocations: 39.97 kB / 0.558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.1658, allocations: 53.7 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.166, allocations: 105.7 kB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.166, allocations: 0 / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002742/0.1662, allocations: 157.5 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1663, allocations: 8 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1663, allocations: 4 kB / 0.5583 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.1663, allocations: 7.875 kB / 0.5583 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.1664, allocations: 31.92 kB / 0.5584 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1664, allocations: 0 / 0.5584 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1664, allocations: 8 kB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1664, allocations: 7.984 kB / 0.5584 GB, free: 3.055 MB / 414.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 (16): * Single equations (assignments): 16 * 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.0001209/0.1666, allocations: 136 kB / 0.5585 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1666, allocations: 23.86 kB / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.1667, allocations: 25.47 kB / 0.5586 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1667, allocations: 4.109 kB / 0.5586 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1667, allocations: 3.938 kB / 0.5586 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1667, allocations: 3.984 kB / 0.5586 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.1673, allocations: 0.496 MB / 0.5591 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1673, allocations: 0 / 0.5591 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.1674, allocations: 24.05 kB / 0.5591 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1674, allocations: 4 kB / 0.5591 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1674, allocations: 0 / 0.5591 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1674, allocations: 4 kB / 0.5591 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1674, allocations: 3.938 kB / 0.5591 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1678, allocations: 264.7 kB / 0.5594 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.1678, allocations: 97.02 kB / 0.5594 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1679, allocations: 3.984 kB / 0.5594 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.1679, allocations: 8 kB / 0.5595 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.168, allocations: 11.98 kB / 0.5595 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.168, allocations: 4 kB / 0.5595 GB, free: 1.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1682, allocations: 197.5 kB / 0.5597 GB, free: 1.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1682, allocations: 3.938 kB / 0.5597 GB, free: 1.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1685, allocations: 35.92 kB / 0.5597 GB, free: 1.605 MB / 414.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 (14): * Single equations (assignments): 12 * 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.002488/0.171, allocations: 1.198 MB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1712, allocations: 103.8 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1712, allocations: 4.062 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1713, allocations: 47.92 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1717, allocations: 42.55 kB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1742, allocations: 2.009 MB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1746, allocations: 0.7317 MB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.1747, allocations: 25.41 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1748, allocations: 59.41 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1748, allocations: 0 / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2023, allocations: 4.359 MB / 0.5681 GB, free: 9.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.183, allocations: 8.859 kB / 0.5681 GB, free: 9.137 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.525119605008513]