Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001824/0.001824, allocations: 118.9 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.002041/0.002041, 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.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2498/0.2498, 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002089/0.002089, allocations: 75.88 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1549, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003919/0.1588, allocations: 1.661 MB / 0.5534 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1601, allocations: 0.5845 MB / 0.554 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1602, allocations: 0 / 0.554 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1609, allocations: 451.1 kB / 0.5544 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.1616, allocations: 295.3 kB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.1621, allocations: 179.2 kB / 0.5548 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.1624, allocations: 183.6 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1625, allocations: 16.2 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1627, allocations: 115.7 kB / 0.5551 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.163, allocations: 247.5 kB / 0.5554 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.163, allocations: 4 kB / 0.5554 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1631, allocations: 35.98 kB / 0.5554 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1632, allocations: 83.69 kB / 0.5555 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1633, allocations: 107 kB / 0.5556 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.1637, allocations: 274.6 kB / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1637, allocations: 0 / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1637, allocations: 0 / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1637, allocations: 0 / 0.5559 GB, free: 5.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001038/0.1648, allocations: 0.6645 MB / 0.5565 GB, free: 5.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.1648, allocations: 12.03 kB / 0.5565 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1649, allocations: 30.75 kB / 0.5566 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.165, allocations: 44.66 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1653, allocations: 316.5 kB / 0.5569 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1653, allocations: 4.375 kB / 0.5569 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1654, allocations: 4.375 kB / 0.5569 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1655, allocations: 53.62 kB / 0.557 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1656, allocations: 7.984 kB / 0.557 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1656, allocations: 0 / 0.557 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1656, allocations: 4 kB / 0.557 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1657, allocations: 27.92 kB / 0.557 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1663, allocations: 404.7 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1665, allocations: 38.56 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.1666, allocations: 24.88 kB / 0.5574 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.1666, allocations: 0 / 0.5574 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.1667, allocations: 38.56 kB / 0.5575 GB, free: 4.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1667, allocations: 4 kB / 0.5575 GB, free: 4.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007451/0.1675, allocations: 244.6 kB / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.1675, allocations: 51.41 kB / 0.5578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1685, allocations: 0.8776 MB / 0.5586 GB, free: 2.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1686, allocations: 25.7 kB / 0.5586 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.1688, allocations: 228.1 kB / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1688, allocations: 23.94 kB / 0.5589 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1689, allocations: 17.72 kB / 0.5589 GB, free: 2.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1691, allocations: 358.8 kB / 0.5592 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.1692, allocations: 19.98 kB / 0.5593 GB, free: 2.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1693, allocations: 23.98 kB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1694, allocations: 52.83 kB / 0.5593 GB, free: 2.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1694, allocations: 4 kB / 0.5593 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003831/0.1698, allocations: 129.2 kB / 0.5595 GB, free: 1.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1699, allocations: 4 kB / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1699, allocations: 0 / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1699, allocations: 0 / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.17, allocations: 19.98 kB / 0.5595 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.17, allocations: 0 / 0.5595 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.17, allocations: 11.92 kB / 0.5595 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.17, allocations: 4 kB / 0.5595 GB, free: 1.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002198/0.1703, allocations: 215.9 kB / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.1703, allocations: 51.61 kB / 0.5598 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1707, allocations: 145.6 kB / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1707, allocations: 4 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.1707, allocations: 8.047 kB / 0.5599 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1707, allocations: 7.922 kB / 0.5599 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.1714, allocations: 470.5 kB / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1714, allocations: 0 / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.1714, allocations: 15.92 kB / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1714, allocations: 0 / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1715, allocations: 3.938 kB / 0.5604 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1715, allocations: 4 kB / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1715, allocations: 0 / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1718, allocations: 219.2 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1719, allocations: 112.8 kB / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1719, allocations: 3.938 kB / 0.5607 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.172, allocations: 7.984 kB / 0.5607 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.172, allocations: 8 kB / 0.5607 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.172, allocations: 0 / 0.5607 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008362/0.1729, allocations: 0.6589 MB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 4 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1731, allocations: 23.95 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002069/0.1752, allocations: 1.06 MB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1755, allocations: 59.95 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1755, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1755, allocations: 27.92 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.176, allocations: 29.11 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.1804, allocations: 3.275 MB / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.1809, allocations: 0.8299 MB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.539e-05/0.181, allocations: 16.64 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1811, allocations: 115.4 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1811, allocations: 0 / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.2155, allocations: 6.158 MB / 0.5727 GB, free: 4.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.882/9.097, allocations: 4 kB / 0.5727 GB, free: 4.387 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.576280237175524]