Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001339/0.001339, allocations: 124.5 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.001398/0.001398, allocations: 211.2 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.563/1.563, 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.2345/0.2345, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002001/0.002001, allocations: 71.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1247, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003167/0.1279, allocations: 1.67 MB / 0.5534 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1291, allocations: 0.5727 MB / 0.554 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.1291, allocations: 0 / 0.554 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.1298, allocations: 447.2 kB / 0.5544 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.1303, allocations: 295.3 kB / 0.5547 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1307, allocations: 131.6 kB / 0.5548 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1309, allocations: 171.6 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1311, allocations: 24.2 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1312, allocations: 115.7 kB / 0.5551 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1315, allocations: 247.5 kB / 0.5553 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1316, allocations: 4 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1317, allocations: 47.98 kB / 0.5554 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1318, allocations: 87.62 kB / 0.5555 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1319, allocations: 107 kB / 0.5556 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1323, allocations: 286.5 kB / 0.5559 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1323, allocations: 0 / 0.5559 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1323, allocations: 0 / 0.5559 GB, free: 5.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1323, allocations: 0 / 0.5559 GB, free: 5.926 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.000843/0.1331, allocations: 0.6684 MB / 0.5565 GB, free: 5.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1332, allocations: 8.031 kB / 0.5565 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1332, allocations: 42.73 kB / 0.5566 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.1333, allocations: 40.66 kB / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1336, allocations: 304.6 kB / 0.5569 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1336, allocations: 12.31 kB / 0.5569 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.1337, allocations: 4.375 kB / 0.5569 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1338, allocations: 65.55 kB / 0.557 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1338, allocations: 0 / 0.557 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1338, allocations: 0 / 0.557 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1338, allocations: 4 kB / 0.557 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.1339, allocations: 23.98 kB / 0.557 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.1345, allocations: 412.5 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1346, allocations: 38.56 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.1346, allocations: 20.94 kB / 0.5574 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1347, allocations: 0 / 0.5574 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1347, allocations: 34.56 kB / 0.5575 GB, free: 4.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.1347, allocations: 0 / 0.5575 GB, free: 4.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001052/0.1357, allocations: 321 kB / 0.5578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1358, allocations: 59.28 kB / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1369, allocations: 0.8815 MB / 0.5587 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1369, allocations: 25.7 kB / 0.5587 GB, free: 2.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1371, allocations: 232.1 kB / 0.5589 GB, free: 2.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1371, allocations: 23.75 kB / 0.559 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1372, allocations: 25.7 kB / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1373, allocations: 358.8 kB / 0.5593 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.1374, allocations: 27.97 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.1375, allocations: 23.98 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1377, allocations: 64.83 kB / 0.5594 GB, free: 2.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1377, allocations: 4 kB / 0.5594 GB, free: 2.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002585/0.1379, allocations: 133.3 kB / 0.5596 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.138, allocations: 4 kB / 0.5596 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.138, allocations: 96 / 0.5596 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.138, allocations: 3.984 kB / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1381, allocations: 23.92 kB / 0.5596 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.1381, allocations: 0 / 0.5596 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.1382, allocations: 7.984 kB / 0.5596 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1382, allocations: 8 kB / 0.5596 GB, free: 1.824 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 (8): * Single equations (assignments): 8 * 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.0002015/0.1384, allocations: 212 kB / 0.5598 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.1385, allocations: 47.67 kB / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.1388, allocations: 165.8 kB / 0.56 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1388, allocations: 11.88 kB / 0.56 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1388, allocations: 0 / 0.56 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1388, allocations: 4 kB / 0.56 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1395, allocations: 0.5031 MB / 0.5605 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1395, allocations: 0 / 0.5605 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.1396, allocations: 19.98 kB / 0.5606 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1396, allocations: 0 / 0.5606 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1396, allocations: 4 kB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1396, allocations: 4 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1396, allocations: 4.031 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1399, allocations: 244 kB / 0.5608 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.14, allocations: 112.8 kB / 0.5609 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.1401, allocations: 7.984 kB / 0.5609 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1402, allocations: 8 kB / 0.5609 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1402, allocations: 11.94 kB / 0.5609 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1403, allocations: 7.984 kB / 0.5609 GB, free: 364 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007035/0.141, allocations: 0.655 MB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.141, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1412, allocations: 35.92 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002256/0.1435, allocations: 1.126 MB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1437, allocations: 67.95 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1437, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.1438, allocations: 35.91 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1443, allocations: 30.3 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1485, allocations: 3.333 MB / 0.5661 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.149, allocations: 0.8299 MB / 0.5669 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.1491, allocations: 12.42 kB / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1492, allocations: 107.4 kB / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1492, allocations: 8 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1786, allocations: 6.422 MB / 0.5733 GB, free: 3.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/9.123, allocations: 2.812 kB / 0.5733 GB, free: 3.789 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.419499947223812]