Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001843/0.001843, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.002214/0.002214, allocations: 208.3 kB / 20.75 MB, free: 2.41 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.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2113/0.2113, 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001978/0.001978, allocations: 79.88 kB / 499.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 65.42 MB / 0.5518 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003144/0.1262, allocations: 1.692 MB / 0.5534 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1273, allocations: 0.5883 MB / 0.554 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.1274, allocations: 0 / 0.554 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1277, allocations: 75.75 kB / 0.5541 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.1279, allocations: 103.6 kB / 0.5542 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1284, allocations: 182.5 kB / 0.5544 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1286, allocations: 91.75 kB / 0.5544 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1287, allocations: 16.5 kB / 0.5545 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.1288, allocations: 39.78 kB / 0.5545 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1289, allocations: 71.73 kB / 0.5546 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1289, allocations: 4 kB / 0.5546 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.129, allocations: 47.98 kB / 0.5546 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1291, allocations: 31.91 kB / 0.5546 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.1291, allocations: 35.67 kB / 0.5547 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1293, allocations: 127.4 kB / 0.5548 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1293, allocations: 0 / 0.5548 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1293, allocations: 4 kB / 0.5548 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1293, allocations: 3.938 kB / 0.5548 GB, free: 7.148 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.0005948/0.1299, allocations: 434.6 kB / 0.5552 GB, free: 6.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.13, allocations: 8.031 kB / 0.5552 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.13, allocations: 42.73 kB / 0.5553 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1301, allocations: 12.84 kB / 0.5553 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1303, allocations: 208.1 kB / 0.5555 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1303, allocations: 8.375 kB / 0.5555 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1303, allocations: 4.375 kB / 0.5555 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1305, allocations: 69.53 kB / 0.5556 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1305, allocations: 4 kB / 0.5556 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1305, allocations: 8 kB / 0.5556 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1305, allocations: 0 / 0.5556 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1307, allocations: 35.97 kB / 0.5556 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.1312, allocations: 332.7 kB / 0.5559 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1314, allocations: 58.55 kB / 0.556 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.1315, allocations: 24.97 kB / 0.556 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1315, allocations: 4 kB / 0.556 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1315, allocations: 46.52 kB / 0.556 GB, free: 5.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1316, allocations: 0 / 0.556 GB, free: 5.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001563/0.1331, allocations: 433.2 kB / 0.5565 GB, free: 5.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1332, allocations: 55.41 kB / 0.5565 GB, free: 5.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1334, allocations: 222.6 kB / 0.5567 GB, free: 4.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1334, allocations: 29.7 kB / 0.5568 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1335, allocations: 104.1 kB / 0.5569 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1335, allocations: 39.62 kB / 0.5569 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.1336, allocations: 29.72 kB / 0.5569 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1337, allocations: 330.8 kB / 0.5572 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1339, allocations: 51.97 kB / 0.5573 GB, free: 4.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.134, allocations: 51.95 kB / 0.5573 GB, free: 4.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1343, allocations: 132.7 kB / 0.5575 GB, free: 4.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1343, allocations: 0 / 0.5575 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/0.1347, allocations: 169.8 kB / 0.5576 GB, free: 4.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1347, allocations: 4 kB / 0.5576 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1347, allocations: 0 / 0.5576 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1347, allocations: 3.938 kB / 0.5576 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1348, allocations: 27.98 kB / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1348, allocations: 0 / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.1349, allocations: 11.98 kB / 0.5577 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1349, allocations: 4 kB / 0.5577 GB, free: 3.973 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.0001158/0.135, allocations: 141 kB / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1351, allocations: 15.91 kB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.1356, allocations: 191 kB / 0.558 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1356, allocations: 11.94 kB / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1356, allocations: 0 / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1356, allocations: 0 / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.1363, allocations: 0.5077 MB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1363, allocations: 0 / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1365, allocations: 35.97 kB / 0.5585 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1365, allocations: 4 kB / 0.5585 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1365, allocations: 0 / 0.5585 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1365, allocations: 0 / 0.5585 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1365, allocations: 4 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.1369, allocations: 281 kB / 0.5588 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.137, allocations: 97 kB / 0.5589 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.137, allocations: 0 / 0.5589 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1371, allocations: 8.188 kB / 0.5589 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.1372, allocations: 23.91 kB / 0.5589 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1372, allocations: 4 kB / 0.5589 GB, free: 2.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1373, allocations: 175.2 kB / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1373, allocations: 0 / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1376, allocations: 27.94 kB / 0.5591 GB, free: 2.344 MB / 414.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.00232/0.1399, allocations: 1.155 MB / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.1403, allocations: 127.8 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1403, allocations: 0 / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1405, allocations: 63.89 kB / 0.5605 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1409, allocations: 27.73 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.1435, allocations: 1.98 MB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1439, allocations: 0.7313 MB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.136e-05/0.144, allocations: 24.53 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.1441, allocations: 43.42 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1441, allocations: 8 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1695, allocations: 3.65 MB / 0.5668 GB, free: 10.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.453, allocations: 19.98 kB / 0.5668 GB, free: 10.61 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.70654372870922]