Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.00171/0.00171, allocations: 123.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.002026/0.002026, allocations: 204.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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2465/0.2465, allocations: 44.9 MB / 355.1 MB, free: 12.36 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.00205/0.00205, allocations: 67.89 kB / 499.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1569, allocations: 65.42 MB / 0.5518 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003505/0.1604, allocations: 1.652 MB / 0.5534 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1616, allocations: 0.5688 MB / 0.5539 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1617, allocations: 0 / 0.5539 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.1623, allocations: 451.1 kB / 0.5544 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.1629, allocations: 299.2 kB / 0.5547 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1634, allocations: 126.8 kB / 0.5548 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1637, allocations: 179.5 kB / 0.555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1638, allocations: 8.281 kB / 0.555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1639, allocations: 119.7 kB / 0.5551 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.1642, allocations: 251.5 kB / 0.5553 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1642, allocations: 0 / 0.5553 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1644, allocations: 39.92 kB / 0.5554 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1645, allocations: 83.69 kB / 0.5554 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1646, allocations: 111 kB / 0.5555 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.165, allocations: 270.5 kB / 0.5558 GB, free: 6.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.165, allocations: 0 / 0.5558 GB, free: 6.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.165, allocations: 7.938 kB / 0.5558 GB, free: 6.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.165, allocations: 0 / 0.5558 GB, free: 6.109 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.001042/0.166, allocations: 0.6646 MB / 0.5565 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1661, allocations: 8.031 kB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.1661, allocations: 34.75 kB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.1662, allocations: 48.64 kB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.1666, allocations: 308.5 kB / 0.5568 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.1666, allocations: 384 / 0.5568 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1667, allocations: 12.38 kB / 0.5568 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1669, allocations: 61.59 kB / 0.5569 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1669, allocations: 3.938 kB / 0.5569 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1669, allocations: 4 kB / 0.5569 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1669, allocations: 0 / 0.5569 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.167, allocations: 31.97 kB / 0.5569 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.1676, allocations: 400.6 kB / 0.5573 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1677, allocations: 42.55 kB / 0.5574 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.1678, allocations: 24.94 kB / 0.5574 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1678, allocations: 0 / 0.5574 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1679, allocations: 30.56 kB / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1679, allocations: 0 / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001018/0.1689, allocations: 304.6 kB / 0.5577 GB, free: 3.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1689, allocations: 55.41 kB / 0.5578 GB, free: 3.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1699, allocations: 0.8698 MB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1699, allocations: 29.64 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.1701, allocations: 220.1 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1702, allocations: 27.75 kB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1702, allocations: 21.7 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.1704, allocations: 358.8 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1706, allocations: 35.97 kB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1707, allocations: 31.97 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.171, allocations: 80.8 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.171, allocations: 0 / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003283/0.1713, allocations: 145.3 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1713, allocations: 6.188 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1713, allocations: 0 / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1714, allocations: 4 kB / 0.5595 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1715, allocations: 27.92 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1715, allocations: 0 / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.1716, allocations: 15.92 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1716, allocations: 0 / 0.5596 GB, free: 2.008 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 (7): * Single equations (assignments): 7 * 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.000212/0.1718, allocations: 212 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.1719, allocations: 47.7 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.1723, allocations: 177.4 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1723, allocations: 0 / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1723, allocations: 0 / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1723, allocations: 3.938 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.1731, allocations: 0.4988 MB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1731, allocations: 0 / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.1732, allocations: 19.98 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1732, allocations: 0 / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1732, allocations: 3.938 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.1732, allocations: 80 / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.1732, allocations: 8.203 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1736, allocations: 247.2 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1737, allocations: 116.8 kB / 0.5609 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1738, allocations: 3.938 kB / 0.5609 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1739, allocations: 11.98 kB / 0.5609 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1739, allocations: 8 kB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1739, allocations: 0 / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.1747, allocations: 0.6589 MB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1747, allocations: 4 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.175, allocations: 23.94 kB / 0.5615 GB, free: 15.87 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 (7): * Single equations (assignments): 7 * 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.002366/0.1774, allocations: 1.106 MB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.1777, allocations: 71.94 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1777, allocations: 0 / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1778, allocations: 39.91 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.1784, allocations: 26.3 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005012/0.1834, allocations: 3.315 MB / 0.566 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.1839, allocations: 0.826 MB / 0.5668 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.184, allocations: 20.95 kB / 0.5668 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1841, allocations: 107.3 kB / 0.5669 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 2.895e-06/0.1841, allocations: 4 kB / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.2183, allocations: 6.204 MB / 0.573 GB, free: 4.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.059, allocations: 3.25 kB / 0.573 GB, free: 4.227 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_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_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.431012650951743]