Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001297/0.001297, allocations: 120.4 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.001455/0.001455, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.489/1.489, 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.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.2298/0.2298, allocations: 44.91 MB / 355.1 MB, free: 12.34 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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001941/0.001941, allocations: 71.89 kB / 499.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1527, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003243/0.1559, allocations: 1.741 MB / 0.5535 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1577, allocations: 1.023 MB / 0.5545 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.1578, allocations: 3.938 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1581, allocations: 55.75 kB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1585, allocations: 95.53 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1587, allocations: 83.61 kB / 0.5548 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1589, allocations: 95.75 kB / 0.5549 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.159, allocations: 16.27 kB / 0.5549 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1591, allocations: 47.73 kB / 0.5549 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1592, allocations: 35.77 kB / 0.555 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1593, allocations: 4 kB / 0.555 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1594, allocations: 43.98 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.1594, allocations: 23.92 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.1595, allocations: 39.73 kB / 0.5551 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1598, allocations: 119.4 kB / 0.5552 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1598, allocations: 3.984 kB / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1598, allocations: 0 / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1598, allocations: 0 / 0.5552 GB, free: 6.652 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.0007717/0.1606, allocations: 430.6 kB / 0.5556 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1606, allocations: 8.031 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1607, allocations: 38.75 kB / 0.5556 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1607, allocations: 12.89 kB / 0.5556 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.1611, allocations: 220.1 kB / 0.5559 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1611, allocations: 4.375 kB / 0.5559 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.1611, allocations: 7.938 kB / 0.5559 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1613, allocations: 49.67 kB / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1613, allocations: 0 / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1614, allocations: 8 kB / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1614, allocations: 3.938 kB / 0.5559 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.218e-05/0.1615, allocations: 15.98 kB / 0.5559 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.162, allocations: 296.8 kB / 0.5562 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1622, allocations: 54.61 kB / 0.5563 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.1622, allocations: 24.84 kB / 0.5563 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1622, allocations: 4 kB / 0.5563 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1624, allocations: 67.39 kB / 0.5564 GB, free: 5.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1624, allocations: 0 / 0.5564 GB, free: 5.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006434/0.1631, allocations: 177.7 kB / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.1631, allocations: 51.41 kB / 0.5566 GB, free: 5.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1634, allocations: 210 kB / 0.5568 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1634, allocations: 33.7 kB / 0.5568 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1635, allocations: 100.1 kB / 0.5569 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.1636, allocations: 31.78 kB / 0.5569 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1636, allocations: 21.72 kB / 0.557 GB, free: 4.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1638, allocations: 326.8 kB / 0.5573 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.1639, allocations: 24.05 kB / 0.5573 GB, free: 4.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.164, allocations: 45.62 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1641, allocations: 53.66 kB / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1641, allocations: 4 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.1643, allocations: 109.5 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1643, allocations: 6.031 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1643, allocations: 0 / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.1644, allocations: 4 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1645, allocations: 15.98 kB / 0.5575 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1645, allocations: 0 / 0.5575 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1645, allocations: 7.938 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1645, allocations: 0 / 0.5575 GB, free: 3.992 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 (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.0001437/0.1647, allocations: 140 kB / 0.5577 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1647, allocations: 15.84 kB / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.1648, allocations: 17.41 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1648, allocations: 0 / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1648, allocations: 3.938 kB / 0.5577 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1648, allocations: 7.922 kB / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1653, allocations: 387.4 kB / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1653, allocations: 4.031 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.1653, allocations: 11.94 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1653, allocations: 7.938 kB / 0.5581 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1654, allocations: 7.984 kB / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1654, allocations: 0 / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1654, allocations: 0 / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1656, allocations: 200.5 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1657, allocations: 85.06 kB / 0.5584 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1657, allocations: 11.94 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1658, allocations: 3.984 kB / 0.5584 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1659, allocations: 7.938 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1659, allocations: 4 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.166, allocations: 164.3 kB / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.166, allocations: 0 / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1663, allocations: 27.92 kB / 0.5586 GB, free: 2.797 MB / 414.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.002382/0.1687, allocations: 1.103 MB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1689, allocations: 55.91 kB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1689, allocations: 0 / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.169, allocations: 31.92 kB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1694, allocations: 22.8 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1718, allocations: 1.697 MB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1722, allocations: 0.708 MB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1722, allocations: 20.78 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.1723, allocations: 39.42 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1723, allocations: 4 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.201, allocations: 3.533 MB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.137, allocations: 8 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.402219088748097]