Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001296/0.001296, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001394/0.001394, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.536/1.536, 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.2428/0.2428, 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002039/0.002039, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003658/0.1602, allocations: 1.676 MB / 0.5534 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1614, allocations: 0.5845 MB / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1614, allocations: 4 kB / 0.554 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.1621, allocations: 459.1 kB / 0.5544 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1626, allocations: 291.3 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.163, allocations: 182.8 kB / 0.5549 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1633, allocations: 179.6 kB / 0.5551 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1634, allocations: 24.42 kB / 0.5551 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1635, allocations: 115.7 kB / 0.5552 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1638, allocations: 251.5 kB / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1638, allocations: 4 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1639, allocations: 51.92 kB / 0.5555 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1641, allocations: 87.62 kB / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1642, allocations: 111 kB / 0.5557 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.1645, allocations: 278.5 kB / 0.5559 GB, free: 5.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1646, allocations: 0 / 0.5559 GB, free: 5.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1646, allocations: 0 / 0.5559 GB, free: 5.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1646, allocations: 4 kB / 0.5559 GB, free: 5.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001134/0.1657, allocations: 0.6723 MB / 0.5566 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1658, allocations: 8.031 kB / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.835e-05/0.1658, allocations: 46.67 kB / 0.5567 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.1659, allocations: 40.66 kB / 0.5567 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1663, allocations: 304.6 kB / 0.557 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1663, allocations: 8.375 kB / 0.557 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1664, allocations: 4.375 kB / 0.557 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1666, allocations: 65.61 kB / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1666, allocations: 0 / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1666, allocations: 7.938 kB / 0.5571 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.1666, allocations: 4 kB / 0.5571 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1668, allocations: 31.97 kB / 0.5571 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.1675, allocations: 416.6 kB / 0.5575 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1676, allocations: 50.58 kB / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1677, allocations: 16.86 kB / 0.5576 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1677, allocations: 4 kB / 0.5576 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1678, allocations: 34.64 kB / 0.5576 GB, free: 3.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1678, allocations: 3.938 kB / 0.5576 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001085/0.1688, allocations: 336.9 kB / 0.5579 GB, free: 3.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1689, allocations: 55.34 kB / 0.558 GB, free: 3.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.1698, allocations: 0.8777 MB / 0.5588 GB, free: 2.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1698, allocations: 25.7 kB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.17, allocations: 228.1 kB / 0.5591 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1701, allocations: 27.69 kB / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1701, allocations: 21.72 kB / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1703, allocations: 366.8 kB / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.1704, allocations: 31.97 kB / 0.5595 GB, free: 1.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.519e-05/0.1705, allocations: 31.98 kB / 0.5595 GB, free: 1.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1707, allocations: 72.81 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1707, allocations: 0 / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00029/0.171, allocations: 149.3 kB / 0.5597 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.171, allocations: 8 kB / 0.5597 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.171, allocations: 0 / 0.5597 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.171, allocations: 4 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1711, allocations: 23.86 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1711, allocations: 3.938 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.1712, allocations: 7.984 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1712, allocations: 4 kB / 0.5598 GB, free: 1.652 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 (8): * Single equations (assignments): 8 * 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.0002083/0.1714, allocations: 212 kB / 0.56 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.1715, allocations: 51.7 kB / 0.56 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1719, allocations: 173.5 kB / 0.5602 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1719, allocations: 11.88 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1719, allocations: 0 / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1719, allocations: 3.984 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.1726, allocations: 0.5226 MB / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1726, allocations: 3.984 kB / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.1727, allocations: 16 kB / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1727, allocations: 0 / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1727, allocations: 7.984 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1727, allocations: 4 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1727, allocations: 480 / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1731, allocations: 256 kB / 0.561 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1732, allocations: 124.8 kB / 0.5611 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1732, allocations: 0 / 0.5611 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.1733, allocations: 4 kB / 0.5611 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1733, allocations: 11.98 kB / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1733, allocations: 0 / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007591/0.1741, allocations: 0.6628 MB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1741, allocations: 0 / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1744, allocations: 39.88 kB / 0.5618 GB, free: 15.45 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002447/0.1768, allocations: 1.128 MB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1771, allocations: 71.94 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1771, allocations: 0 / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1772, allocations: 47.97 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.1777, allocations: 27.62 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1819, allocations: 3.391 MB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.1824, allocations: 0.8338 MB / 0.5672 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.337e-05/0.1825, allocations: 24.72 kB / 0.5672 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1827, allocations: 123.4 kB / 0.5673 GB, free: 9.852 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1827, allocations: 0 / 0.5673 GB, free: 9.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.2154, allocations: 6.488 MB / 0.5737 GB, free: 3.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.009, allocations: 7.984 kB / 0.5737 GB, free: 3.395 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.383620247710496]