Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0013/0.0013, allocations: 123.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.001635/0.001635, allocations: 212.2 kB / 20.75 MB, free: 2.332 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.597/1.597, 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.2458/0.2458, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002009/0.002009, allocations: 67.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1559, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003583/0.1594, allocations: 1.606 MB / 0.5533 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1606, allocations: 0.5494 MB / 0.5539 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.1606, allocations: 4 kB / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.1614, allocations: 443.2 kB / 0.5543 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.1619, allocations: 295.3 kB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.1623, allocations: 122.9 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1626, allocations: 167.6 kB / 0.5549 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1627, allocations: 4.188 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1628, allocations: 111.8 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1631, allocations: 247.5 kB / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1631, allocations: 4 kB / 0.5552 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.1632, allocations: 31.97 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1634, allocations: 79.7 kB / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1635, allocations: 107 kB / 0.5554 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.164, allocations: 246.9 kB / 0.5557 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.164, allocations: 0 / 0.5557 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.164, allocations: 4 kB / 0.5557 GB, free: 6.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.164, allocations: 3.938 kB / 0.5557 GB, free: 6.133 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009758/0.165, allocations: 0.6529 MB / 0.5563 GB, free: 5.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.1651, allocations: 8.031 kB / 0.5563 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1651, allocations: 34.75 kB / 0.5563 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.1652, allocations: 48.61 kB / 0.5564 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1656, allocations: 312.6 kB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1656, allocations: 384 / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1656, allocations: 4.125 kB / 0.5567 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1658, allocations: 49.67 kB / 0.5567 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1658, allocations: 0 / 0.5567 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1658, allocations: 3.938 kB / 0.5567 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1658, allocations: 0 / 0.5567 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.1659, allocations: 27.92 kB / 0.5568 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.1665, allocations: 380.8 kB / 0.5571 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1667, allocations: 26.58 kB / 0.5572 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1667, allocations: 16.84 kB / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1668, allocations: 4 kB / 0.5572 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1668, allocations: 38.56 kB / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1668, allocations: 0 / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003114/0.1671, allocations: 97.39 kB / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1672, allocations: 51.41 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.1682, allocations: 0.8699 MB / 0.5582 GB, free: 3.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1682, allocations: 29.7 kB / 0.5582 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1684, allocations: 224 kB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1685, allocations: 16.06 kB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1685, allocations: 9.719 kB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1687, allocations: 366.7 kB / 0.5588 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.1688, allocations: 11.92 kB / 0.5588 GB, free: 2.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.1688, allocations: 4 kB / 0.5588 GB, free: 2.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.1689, allocations: 24.84 kB / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1689, allocations: 4.062 kB / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001621/0.169, allocations: 93.39 kB / 0.5589 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.169, allocations: 11.94 kB / 0.559 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1691, allocations: 0 / 0.559 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1691, allocations: 0 / 0.559 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1692, allocations: 4 kB / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1692, allocations: 0 / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.1693, allocations: 4 kB / 0.559 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1693, allocations: 3.938 kB / 0.559 GB, free: 2.496 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 (2): * Single equations (assignments): 2 * 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.0002141/0.1695, allocations: 223.9 kB / 0.5592 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.1696, allocations: 39.72 kB / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.1698, allocations: 100.8 kB / 0.5593 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1698, allocations: 0 / 0.5593 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1698, allocations: 0 / 0.5593 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1698, allocations: 3.984 kB / 0.5593 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1702, allocations: 289.5 kB / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1702, allocations: 0 / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.1702, allocations: 8.031 kB / 0.5596 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1702, allocations: 0 / 0.5596 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1702, allocations: 4 kB / 0.5596 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1702, allocations: 7.984 kB / 0.5596 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1702, allocations: 0 / 0.5596 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1705, allocations: 195.1 kB / 0.5598 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1706, allocations: 112.8 kB / 0.5599 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1706, allocations: 11.97 kB / 0.5599 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1707, allocations: 3.984 kB / 0.5599 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.1707, allocations: 0 / 0.5599 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1707, allocations: 4 kB / 0.5599 GB, free: 1.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007375/0.1714, allocations: 0.6628 MB / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1714, allocations: 0 / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1717, allocations: 23.94 kB / 0.5606 GB, free: 0.7305 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001954/0.1737, allocations: 0.9719 MB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1738, allocations: 23.98 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1738, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.1739, allocations: 15.98 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.1743, allocations: 22.3 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.1785, allocations: 3.159 MB / 0.5647 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.179, allocations: 0.826 MB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.1791, allocations: 7.75 kB / 0.5655 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1792, allocations: 111.4 kB / 0.5656 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1792, allocations: 0 / 0.5656 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2099, allocations: 5.784 MB / 0.5713 GB, free: 5.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/8.983, allocations: 3.125 kB / 0.5713 GB, free: 5.852 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.366819130256772]