Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001928/0.001928, 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.002344/0.002344, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.649/1.649, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.2506/0.2506, allocations: 44.9 MB / 355.1 MB, free: 12.37 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002059/0.002059, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 65.42 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003488/0.1602, allocations: 1.657 MB / 0.5534 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1615, allocations: 0.5806 MB / 0.554 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.1616, allocations: 7.938 kB / 0.554 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.1622, allocations: 451.1 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.1627, allocations: 291.3 kB / 0.5547 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1632, allocations: 186.5 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.1635, allocations: 175.6 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1636, allocations: 16.2 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1637, allocations: 111.7 kB / 0.5551 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.1641, allocations: 251.5 kB / 0.5554 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1642, allocations: 4 kB / 0.5554 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1643, allocations: 31.97 kB / 0.5554 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1644, allocations: 87.69 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1645, allocations: 103 kB / 0.5556 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1649, allocations: 274.6 kB / 0.5559 GB, free: 5.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1649, allocations: 3.984 kB / 0.5559 GB, free: 5.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1649, allocations: 0 / 0.5559 GB, free: 5.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1649, allocations: 0 / 0.5559 GB, free: 5.945 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.0008795/0.1658, allocations: 0.6606 MB / 0.5565 GB, free: 5.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1658, allocations: 12.02 kB / 0.5565 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.1659, allocations: 34.75 kB / 0.5565 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.166, allocations: 56.64 kB / 0.5566 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1663, allocations: 304.6 kB / 0.5569 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1663, allocations: 8.312 kB / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1663, allocations: 384 / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1665, allocations: 61.61 kB / 0.557 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1665, allocations: 0 / 0.557 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1665, allocations: 0 / 0.557 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1665, allocations: 0 / 0.557 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1666, allocations: 35.91 kB / 0.557 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1672, allocations: 404.7 kB / 0.5574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1675, allocations: 46.5 kB / 0.5574 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.1676, allocations: 16.94 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1676, allocations: 0 / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1677, allocations: 42.56 kB / 0.5575 GB, free: 4.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1677, allocations: 4 kB / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007231/0.1684, allocations: 244.6 kB / 0.5577 GB, free: 3.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1684, allocations: 51.41 kB / 0.5578 GB, free: 3.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.1694, allocations: 0.8776 MB / 0.5586 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1694, allocations: 25.7 kB / 0.5586 GB, free: 2.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1696, allocations: 232.1 kB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1696, allocations: 15.84 kB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1697, allocations: 17.72 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.1699, allocations: 362.8 kB / 0.5592 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.17, allocations: 27.91 kB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.1701, allocations: 19.98 kB / 0.5593 GB, free: 2.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1702, allocations: 56.83 kB / 0.5593 GB, free: 2.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1702, allocations: 0 / 0.5593 GB, free: 2.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002885/0.1705, allocations: 125.3 kB / 0.5595 GB, free: 2.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1705, allocations: 8 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1705, allocations: 0 / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1705, allocations: 0 / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.1706, allocations: 11.98 kB / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.1706, allocations: 0 / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1708, allocations: 7.938 kB / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1708, allocations: 8 kB / 0.5595 GB, free: 1.969 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.0002143/0.171, allocations: 219.9 kB / 0.5597 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.1711, allocations: 47.92 kB / 0.5598 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1714, allocations: 149 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1714, allocations: 0 / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1714, allocations: 4 kB / 0.5599 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1714, allocations: 3.938 kB / 0.5599 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.1721, allocations: 466.5 kB / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1721, allocations: 3.984 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1721, allocations: 15.94 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1721, allocations: 0 / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1722, allocations: 3.938 kB / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1722, allocations: 0 / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1722, allocations: 4 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1725, allocations: 219.2 kB / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.1726, allocations: 117.1 kB / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1726, allocations: 7.938 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1727, allocations: 4 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1727, allocations: 7.969 kB / 0.5607 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1727, allocations: 4 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006907/0.1734, allocations: 0.6628 MB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1734, allocations: 0 / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.1738, allocations: 27.95 kB / 0.5614 GB, free: 15.92 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.002067/0.1759, allocations: 1.062 MB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1761, allocations: 55.95 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1761, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.1762, allocations: 27.92 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1767, allocations: 33.05 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.1809, allocations: 3.271 MB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.1814, allocations: 0.8337 MB / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.1816, allocations: 16.64 kB / 0.5666 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1817, allocations: 111.4 kB / 0.5667 GB, free: 10.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1817, allocations: 0 / 0.5667 GB, free: 10.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.2139, allocations: 6.159 MB / 0.5727 GB, free: 4.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.918, allocations: 3.938 kB / 0.5727 GB, free: 4.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.473073849920183]