Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001768/0.001768, 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.002055/0.002055, 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.665/1.665, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.252/0.252, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002068/0.002068, allocations: 71.88 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1488, allocations: 65.41 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003234/0.152, allocations: 1.62 MB / 0.5533 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1531, allocations: 0.565 MB / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.1531, allocations: 0 / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.1538, allocations: 451.1 kB / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.1543, allocations: 299.3 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1548, allocations: 170.4 kB / 0.5548 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.155, allocations: 171.6 kB / 0.5549 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1551, allocations: 7.984 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1552, allocations: 111.8 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1555, allocations: 247.5 kB / 0.5553 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1555, allocations: 4 kB / 0.5553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.1556, allocations: 23.98 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1557, allocations: 87.62 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.1558, allocations: 107 kB / 0.5555 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.1562, allocations: 254.9 kB / 0.5557 GB, free: 6.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.1562, allocations: 8 kB / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1562, allocations: 0 / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1562, allocations: 0 / 0.5557 GB, free: 6.059 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.0008034/0.1571, allocations: 0.6606 MB / 0.5564 GB, free: 5.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1571, allocations: 8.031 kB / 0.5564 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.1571, allocations: 38.75 kB / 0.5564 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.1572, allocations: 40.66 kB / 0.5565 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1575, allocations: 300.7 kB / 0.5568 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1575, allocations: 4.375 kB / 0.5568 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1575, allocations: 4.375 kB / 0.5568 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1577, allocations: 57.61 kB / 0.5568 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1577, allocations: 0 / 0.5568 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1577, allocations: 3.938 kB / 0.5568 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1577, allocations: 0 / 0.5568 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1578, allocations: 31.86 kB / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1584, allocations: 388.7 kB / 0.5572 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1585, allocations: 38.56 kB / 0.5573 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1586, allocations: 8.922 kB / 0.5573 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.1586, allocations: 3.984 kB / 0.5573 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1587, allocations: 42.5 kB / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1587, allocations: 0 / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000299/0.159, allocations: 105.4 kB / 0.5574 GB, free: 4.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.159, allocations: 55.41 kB / 0.5575 GB, free: 4.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.1599, allocations: 0.8738 MB / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.16, allocations: 25.7 kB / 0.5584 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1602, allocations: 224.1 kB / 0.5586 GB, free: 2.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1602, allocations: 7.953 kB / 0.5586 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1602, allocations: 13.72 kB / 0.5586 GB, free: 2.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1604, allocations: 362.7 kB / 0.5589 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1605, allocations: 16.02 kB / 0.5589 GB, free: 2.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.1605, allocations: 11.98 kB / 0.559 GB, free: 2.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1607, allocations: 28.78 kB / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1607, allocations: 0 / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000209/0.1609, allocations: 97.41 kB / 0.5591 GB, free: 2.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1609, allocations: 4 kB / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1609, allocations: 96 / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1609, allocations: 4 kB / 0.5591 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.161, allocations: 7.984 kB / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.161, allocations: 0 / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.161, allocations: 4 kB / 0.5591 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1611, allocations: 0 / 0.5591 GB, free: 2.383 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.000208/0.1613, allocations: 215.9 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.1613, allocations: 51.66 kB / 0.5594 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.1616, allocations: 116.7 kB / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1616, allocations: 0 / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1616, allocations: 0 / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1616, allocations: 4 kB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.1619, allocations: 285.5 kB / 0.5597 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1619, allocations: 7.938 kB / 0.5597 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.1619, allocations: 8 kB / 0.5598 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1619, allocations: 0 / 0.5598 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.162, allocations: 3.984 kB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.162, allocations: 0 / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.162, allocations: 0 / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1622, allocations: 199.2 kB / 0.56 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.1623, allocations: 112.8 kB / 0.5601 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1623, allocations: 7.938 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1624, allocations: 0 / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.1624, allocations: 0 / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1624, allocations: 7.984 kB / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007462/0.1632, allocations: 0.659 MB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1632, allocations: 0 / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1634, allocations: 31.86 kB / 0.5607 GB, free: 0.5977 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.001777/0.1652, allocations: 0.9669 MB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1654, allocations: 27.92 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.1654, allocations: 0 / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1655, allocations: 16.05 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.166, allocations: 29.33 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.1701, allocations: 3.183 MB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.1707, allocations: 0.8241 MB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.413e-05/0.1707, allocations: 23.73 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1709, allocations: 115.4 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1709, allocations: 0 / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.2023, allocations: 5.832 MB / 0.5715 GB, free: 5.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/8.895, allocations: 0 / 0.5715 GB, free: 5.625 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.442612497135997]