Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001907/0.001907, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002272/0.002272, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.459/1.459, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2196/0.2196, allocations: 44.9 MB / 355.1 MB, free: 12.3 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.002048/0.002048, allocations: 71.89 kB / 499.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1227, allocations: 65.42 MB / 0.5518 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003385/0.1261, allocations: 1.652 MB / 0.5534 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1272, allocations: 0.5572 MB / 0.5539 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.1273, allocations: 0 / 0.5539 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.1279, allocations: 451.1 kB / 0.5544 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.1283, allocations: 295.3 kB / 0.5546 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1287, allocations: 131.1 kB / 0.5548 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.129, allocations: 171.6 kB / 0.5549 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.1291, allocations: 16.2 kB / 0.5549 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1292, allocations: 111.7 kB / 0.5551 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.1295, allocations: 255.5 kB / 0.5553 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1296, allocations: 4 kB / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.1296, allocations: 32 kB / 0.5553 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1297, allocations: 87.67 kB / 0.5554 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.1298, allocations: 103 kB / 0.5555 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1302, allocations: 266.6 kB / 0.5558 GB, free: 5.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1302, allocations: 0 / 0.5558 GB, free: 5.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1302, allocations: 0 / 0.5558 GB, free: 5.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1302, allocations: 0 / 0.5558 GB, free: 5.988 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.0007896/0.131, allocations: 0.6646 MB / 0.5564 GB, free: 5.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.131, allocations: 8.031 kB / 0.5564 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1311, allocations: 34.73 kB / 0.5565 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.1311, allocations: 48.61 kB / 0.5565 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1315, allocations: 304.6 kB / 0.5568 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1315, allocations: 4.375 kB / 0.5568 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1315, allocations: 4.375 kB / 0.5568 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1317, allocations: 57.61 kB / 0.5569 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1317, allocations: 0 / 0.5569 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1317, allocations: 7.938 kB / 0.5569 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1317, allocations: 0 / 0.5569 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.1318, allocations: 23.98 kB / 0.5569 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1323, allocations: 384.7 kB / 0.5573 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1325, allocations: 50.5 kB / 0.5573 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.1326, allocations: 12.86 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1326, allocations: 0 / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1326, allocations: 38.64 kB / 0.5574 GB, free: 4.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1326, allocations: 0 / 0.5574 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007002/0.1333, allocations: 244.7 kB / 0.5576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.1334, allocations: 55.41 kB / 0.5576 GB, free: 3.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.1344, allocations: 0.8737 MB / 0.5585 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1344, allocations: 29.7 kB / 0.5585 GB, free: 2.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1346, allocations: 224.1 kB / 0.5587 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1347, allocations: 11.91 kB / 0.5587 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1347, allocations: 21.66 kB / 0.5588 GB, free: 2.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1349, allocations: 362.8 kB / 0.5591 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.135, allocations: 15.98 kB / 0.5591 GB, free: 2.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.135, allocations: 28.05 kB / 0.5592 GB, free: 2.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1352, allocations: 48.83 kB / 0.5592 GB, free: 2.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1352, allocations: 3.938 kB / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002469/0.1354, allocations: 117.3 kB / 0.5593 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1354, allocations: 8 kB / 0.5593 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1354, allocations: 0 / 0.5593 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1355, allocations: 0 / 0.5593 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.1355, allocations: 15.98 kB / 0.5593 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1355, allocations: 0 / 0.5593 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.1356, allocations: 11.94 kB / 0.5594 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1356, allocations: 7.984 kB / 0.5594 GB, free: 2.066 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.000282/0.1359, allocations: 208 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.136, allocations: 39.72 kB / 0.5596 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1363, allocations: 145.1 kB / 0.5597 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1363, allocations: 0 / 0.5597 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1363, allocations: 0 / 0.5597 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1363, allocations: 7.938 kB / 0.5597 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1369, allocations: 458.5 kB / 0.5602 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1369, allocations: 0 / 0.5602 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.137, allocations: 12.25 kB / 0.5602 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.137, allocations: 0 / 0.5602 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.137, allocations: 19.92 kB / 0.5602 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.137, allocations: 0 / 0.5602 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.137, allocations: 0 / 0.5602 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1372, allocations: 211.2 kB / 0.5604 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.1373, allocations: 112.8 kB / 0.5605 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1374, allocations: 7.938 kB / 0.5605 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.1374, allocations: 8 kB / 0.5605 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1375, allocations: 7.984 kB / 0.5605 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1375, allocations: 0 / 0.5605 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.1382, allocations: 0.6628 MB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1382, allocations: 0 / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1384, allocations: 19.94 kB / 0.5612 GB, free: 68 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.00197/0.1404, allocations: 1.073 MB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1406, allocations: 43.95 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1406, allocations: 7.938 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1407, allocations: 19.98 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1412, allocations: 23.62 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.1451, allocations: 3.244 MB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.1456, allocations: 0.8221 MB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.1456, allocations: 11.98 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1457, allocations: 103.4 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1457, allocations: 7.938 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.1735, allocations: 6.087 MB / 0.5724 GB, free: 4.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.235, allocations: 7.938 kB / 0.5724 GB, free: 4.691 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.386702669784427]