Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009107/0.0009107, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009874/0.0009874, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9224/0.9224, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2471/0.2471, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.277e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001892/0.001905, allocations: 1.592 MB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1628/0.1647, allocations: 0.5555 MB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.1647, allocations: 2.812 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1651, allocations: 451.3 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1653, allocations: 298.2 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1656, allocations: 168.6 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1657, allocations: 181.2 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.1658, allocations: 5.5 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1659, allocations: 116.7 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.166, allocations: 238.5 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.166, allocations: 2.844 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.1661, allocations: 36.19 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.1662, allocations: 85.91 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.1662, allocations: 34.19 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1664, allocations: 234.6 kB / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1664, allocations: 0 / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1664, allocations: 0 / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1664, allocations: 0 / 446.2 MB, free: 43.03 MB / 410.7 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.0003843/0.1667, allocations: 0.5746 MB / 446.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1668, allocations: 12.78 kB / 446.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.907e-05/0.1668, allocations: 37.25 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1668, allocations: 46.55 kB / 446.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.167, allocations: 249.9 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.167, allocations: 384 / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.167, allocations: 6.5 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.1671, allocations: 55.08 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1671, allocations: 192 / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1671, allocations: 3.938 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1671, allocations: 2.906 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.1671, allocations: 21.73 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.1674, allocations: 358.2 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.1675, allocations: 35.55 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.1675, allocations: 14.11 kB / 447.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1675, allocations: 0 / 447.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.1675, allocations: 39.7 kB / 447.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.1675, allocations: 2.344 kB / 447.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.1677, allocations: 109.2 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.1677, allocations: 55.53 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.1681, allocations: 0.8773 MB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-06/0.1681, allocations: 25.7 kB / 448.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.1682, allocations: 225.4 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.1682, allocations: 7.891 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.1682, allocations: 16.69 kB / 448.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.1682, allocations: 360.5 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.1683, allocations: 9.719 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.1683, allocations: 9.047 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.1683, allocations: 37.78 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1683, allocations: 3.938 kB / 449.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.698e-05/0.1684, allocations: 98.23 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1684, allocations: 5.594 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1684, allocations: 0 / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1684, allocations: 2.906 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.1685, allocations: 2.875 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1685, allocations: 0 / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1685, allocations: 13.89 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1685, allocations: 2.906 kB / 449.4 MB, free: 41.09 MB / 410.7 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 8.704e-05/0.1686, allocations: 211.5 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1686, allocations: 40.66 kB / 449.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1687, allocations: 110.9 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1687, allocations: 0 / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1687, allocations: 5.719 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1687, allocations: 2.688 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1688, allocations: 258.2 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.1688, allocations: 4.031 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.1689, allocations: 2.875 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1689, allocations: 4.312 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1689, allocations: 3.281 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.1689, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1689, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.174e-05/0.1689, allocations: 195.3 kB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.169, allocations: 31.97 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.169, allocations: 6.109 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.169, allocations: 2.562 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.169, allocations: 8 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.169, allocations: 0 / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002997/0.1693, allocations: 0.6611 MB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1693, allocations: 0 / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.1695, allocations: 18.31 kB / 451 MB, free: 40.23 MB / 410.7 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.0006272/0.1701, allocations: 1.003 MB / 452 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.1702, allocations: 25.14 kB / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1702, allocations: 0 / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.1702, allocations: 15.75 kB / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1705, allocations: 30.61 kB / 452.1 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.172, allocations: 3.186 MB / 455.2 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.97e-05/0.1721, allocations: 214 kB / 455.4 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1722, allocations: 17.72 kB / 455.5 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.1722, allocations: 114.7 kB / 455.6 MB, free: 37.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1722, allocations: 0 / 455.6 MB, free: 37.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.187, allocations: 6.476 MB / 462.1 MB, free: 35.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.361, allocations: 6.969 kB / 462.1 MB, free: 35.9 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.450789704918861]