Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001262/0.001262, allocations: 119.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.001566/0.001566, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2581/0.2581, allocations: 44.9 MB / 355.1 MB, free: 12.4 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001979/0.001979, allocations: 66.09 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1243, allocations: 65.43 MB / 0.5518 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003162/0.1275, allocations: 1.676 MB / 0.5534 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1286, allocations: 0.565 MB / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.1286, allocations: 4 kB / 0.554 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.1292, allocations: 447.1 kB / 0.5544 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1296, allocations: 299.2 kB / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.13, allocations: 127.6 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1302, allocations: 183.6 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.1303, allocations: 16.44 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1304, allocations: 115.7 kB / 0.5551 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.1307, allocations: 255.5 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1307, allocations: 4 kB / 0.5554 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1308, allocations: 55.86 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1309, allocations: 87.67 kB / 0.5555 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.131, allocations: 107 kB / 0.5556 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.1314, allocations: 278.6 kB / 0.5559 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1314, allocations: 3.984 kB / 0.5559 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1314, allocations: 0 / 0.5559 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1314, allocations: 0 / 0.5559 GB, free: 5.895 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.0008238/0.1322, allocations: 0.6762 MB / 0.5565 GB, free: 5.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1323, allocations: 11.97 kB / 0.5565 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1323, allocations: 30.75 kB / 0.5566 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1324, allocations: 48.64 kB / 0.5566 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1327, allocations: 312.5 kB / 0.5569 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1327, allocations: 8.312 kB / 0.5569 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1327, allocations: 384 / 0.5569 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1329, allocations: 77.55 kB / 0.557 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1329, allocations: 3.938 kB / 0.557 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1329, allocations: 7.984 kB / 0.557 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1329, allocations: 0 / 0.557 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.133, allocations: 35.97 kB / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.1335, allocations: 400.7 kB / 0.5574 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1338, allocations: 66.56 kB / 0.5575 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1339, allocations: 20.97 kB / 0.5575 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1339, allocations: 4 kB / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1339, allocations: 34.55 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1339, allocations: 0 / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001536/0.1355, allocations: 480.3 kB / 0.558 GB, free: 3.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1355, allocations: 59.34 kB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/0.1364, allocations: 0.8698 MB / 0.5589 GB, free: 2.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1364, allocations: 25.7 kB / 0.5589 GB, free: 2.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1366, allocations: 216 kB / 0.5591 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1366, allocations: 39.69 kB / 0.5592 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1367, allocations: 25.72 kB / 0.5592 GB, free: 2.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1369, allocations: 366.8 kB / 0.5596 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.137, allocations: 39.91 kB / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1371, allocations: 43.97 kB / 0.5596 GB, free: 1.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1374, allocations: 104.8 kB / 0.5597 GB, free: 1.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1374, allocations: 0 / 0.5597 GB, free: 1.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003645/0.1377, allocations: 181.5 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1378, allocations: 4 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1378, allocations: 0 / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1378, allocations: 7.938 kB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1379, allocations: 28.53 kB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1379, allocations: 4 kB / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.138, allocations: 11.98 kB / 0.56 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.138, allocations: 0 / 0.56 GB, free: 1.461 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 (11): * Single equations (assignments): 11 * 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.0002019/0.1382, allocations: 223.9 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.1383, allocations: 47.67 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.1387, allocations: 209.5 kB / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1387, allocations: 7.938 kB / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1387, allocations: 0 / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1387, allocations: 3.938 kB / 0.5604 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.1396, allocations: 0.5702 MB / 0.561 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1396, allocations: 8 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1397, allocations: 31.97 kB / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1397, allocations: 0 / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1397, allocations: 0 / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1397, allocations: 4 kB / 0.561 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1397, allocations: 3.984 kB / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.1401, allocations: 288.9 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.1402, allocations: 116.8 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.1403, allocations: 7.984 kB / 0.5614 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1404, allocations: 8 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1404, allocations: 11.98 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1404, allocations: 4 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006591/0.1411, allocations: 0.6628 MB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1411, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1414, allocations: 28 kB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002443/0.1438, allocations: 1.182 MB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.1442, allocations: 107.9 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1442, allocations: 0 / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1443, allocations: 51.91 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1447, allocations: 33.11 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.1491, allocations: 3.447 MB / 0.5668 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.1496, allocations: 0.8338 MB / 0.5676 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.1497, allocations: 12.55 kB / 0.5677 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1498, allocations: 111.4 kB / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1498, allocations: 4 kB / 0.5678 GB, free: 9.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1791, allocations: 6.604 MB / 0.5742 GB, free: 2.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/9.122, allocations: 64 / 0.5742 GB, free: 2.828 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.389235369861126]