Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.002074/0.002074, allocations: 123.4 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.002298/0.002298, allocations: 209.6 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.575/1.575, 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.2307/0.2307, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.002126/0.002126, allocations: 74.23 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1422, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003739/0.146, allocations: 1.652 MB / 0.5534 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1471, allocations: 0.5533 MB / 0.5539 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.1472, allocations: 0 / 0.5539 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1478, allocations: 455.1 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.1484, allocations: 291.3 kB / 0.5546 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1488, allocations: 135.2 kB / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.1491, allocations: 167.6 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1492, allocations: 16.22 kB / 0.5549 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1493, allocations: 119.6 kB / 0.5551 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.1496, allocations: 247.5 kB / 0.5553 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1496, allocations: 4 kB / 0.5553 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1497, allocations: 35.98 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1498, allocations: 83.67 kB / 0.5554 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1499, allocations: 106.9 kB / 0.5555 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1503, allocations: 266.6 kB / 0.5558 GB, free: 6.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1503, allocations: 0 / 0.5558 GB, free: 6.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1503, allocations: 0 / 0.5558 GB, free: 6.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1503, allocations: 4 kB / 0.5558 GB, free: 6.004 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.0009532/0.1513, allocations: 0.6568 MB / 0.5564 GB, free: 5.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1513, allocations: 8.031 kB / 0.5564 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.1514, allocations: 38.75 kB / 0.5565 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1515, allocations: 44.61 kB / 0.5565 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1518, allocations: 308.5 kB / 0.5568 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1518, allocations: 4.359 kB / 0.5568 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1519, allocations: 12.36 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.152, allocations: 61.61 kB / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1521, allocations: 0 / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1521, allocations: 0 / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1521, allocations: 0 / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1522, allocations: 27.98 kB / 0.5569 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.1527, allocations: 392.6 kB / 0.5573 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.153, allocations: 42.56 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.1531, allocations: 20.94 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1531, allocations: 0 / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1531, allocations: 30.56 kB / 0.5574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1531, allocations: 0 / 0.5574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006796/0.1538, allocations: 236.6 kB / 0.5576 GB, free: 3.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.1539, allocations: 55.41 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1549, allocations: 0.8776 MB / 0.5585 GB, free: 3.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1549, allocations: 25.7 kB / 0.5585 GB, free: 2.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.1551, allocations: 224.1 kB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1552, allocations: 11.91 kB / 0.5587 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.1552, allocations: 21.7 kB / 0.5588 GB, free: 2.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002953/0.1555, allocations: 362.7 kB / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.1556, allocations: 23.92 kB / 0.5591 GB, free: 2.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.1557, allocations: 19.98 kB / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1558, allocations: 44.83 kB / 0.5592 GB, free: 2.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1558, allocations: 0 / 0.5592 GB, free: 2.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002501/0.1561, allocations: 125.3 kB / 0.5593 GB, free: 2.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1561, allocations: 4 kB / 0.5593 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1561, allocations: 7.938 kB / 0.5593 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1561, allocations: 0 / 0.5593 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.1562, allocations: 12 kB / 0.5593 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1562, allocations: 3.938 kB / 0.5593 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.1563, allocations: 11.92 kB / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1563, allocations: 0 / 0.5594 GB, free: 2.09 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 (5): * Single equations (assignments): 5 * 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.0002326/0.1565, allocations: 216 kB / 0.5596 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.1566, allocations: 43.72 kB / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1569, allocations: 133.4 kB / 0.5597 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1569, allocations: 4.062 kB / 0.5597 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1569, allocations: 4 kB / 0.5597 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1569, allocations: 3.938 kB / 0.5597 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.1575, allocations: 462.5 kB / 0.5602 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1575, allocations: 0 / 0.5602 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.1576, allocations: 19.98 kB / 0.5602 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1576, allocations: 0 / 0.5602 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1576, allocations: 3.938 kB / 0.5602 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1576, allocations: 0 / 0.5602 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1576, allocations: 0 / 0.5602 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1579, allocations: 223.1 kB / 0.5604 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.158, allocations: 112.8 kB / 0.5605 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1581, allocations: 7.938 kB / 0.5605 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1582, allocations: 7.984 kB / 0.5605 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1583, allocations: 288 / 0.5605 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1583, allocations: 4 kB / 0.5605 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007386/0.159, allocations: 0.6589 MB / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1593, allocations: 27.94 kB / 0.5612 GB, free: 80 kB / 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 (5): * Single equations (assignments): 5 * 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.002156/0.1614, allocations: 1.065 MB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1617, allocations: 43.97 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1617, allocations: 0 / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.1617, allocations: 27.98 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1622, allocations: 25.95 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.1668, allocations: 3.244 MB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.1675, allocations: 0.826 MB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.108e-05/0.1675, allocations: 11.98 kB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1677, allocations: 107.4 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1677, allocations: 0 / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.2007, allocations: 6.08 MB / 0.5724 GB, free: 4.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/9.166, allocations: 4.062 kB / 0.5724 GB, free: 4.711 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_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_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.512114975135773]