Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001476/0.001476, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002162/0.002162, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.524/1.524, 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.2298/0.2298, allocations: 44.91 MB / 355.1 MB, free: 12.33 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.002045/0.002045, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1339, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.004795/0.1387, allocations: 1.66 MB / 0.5534 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.1409, allocations: 1.183 MB / 0.5546 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1409, allocations: 0 / 0.5546 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1411, allocations: 23.84 kB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1414, allocations: 91.61 kB / 0.5547 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1419, allocations: 135.3 kB / 0.5548 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.142, allocations: 79.75 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.1421, allocations: 12.22 kB / 0.5549 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.1422, allocations: 35.8 kB / 0.5549 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1423, allocations: 39.83 kB / 0.5549 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1423, allocations: 4 kB / 0.555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1425, allocations: 99.86 kB / 0.555 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.1426, allocations: 19.92 kB / 0.5551 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1426, allocations: 31.8 kB / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1429, allocations: 155.5 kB / 0.5552 GB, free: 6.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1429, allocations: 4 kB / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1429, allocations: 0 / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1429, allocations: 0 / 0.5553 GB, free: 6.547 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.0006334/0.1435, allocations: 426.6 kB / 0.5557 GB, free: 6.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.1436, allocations: 8.031 kB / 0.5557 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1436, allocations: 34.73 kB / 0.5557 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.1437, allocations: 8.891 kB / 0.5557 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.144, allocations: 192.3 kB / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.144, allocations: 4.375 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1441, allocations: 8.328 kB / 0.5559 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1443, allocations: 75.31 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1443, allocations: 0 / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1443, allocations: 7.938 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1443, allocations: 7.938 kB / 0.556 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1445, allocations: 35.95 kB / 0.556 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.1449, allocations: 300.8 kB / 0.5563 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.145, allocations: 46.53 kB / 0.5564 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.1451, allocations: 24.88 kB / 0.5564 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1451, allocations: 7.938 kB / 0.5564 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1451, allocations: 34.56 kB / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1451, allocations: 0 / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000808/0.1459, allocations: 209.3 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.146, allocations: 81.11 kB / 0.5567 GB, free: 4.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1463, allocations: 156.1 kB / 0.5568 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1463, allocations: 25.7 kB / 0.5569 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.1463, allocations: 100.1 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1464, allocations: 19.75 kB / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.1464, allocations: 25.7 kB / 0.557 GB, free: 4.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1465, allocations: 318.8 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1467, allocations: 35.97 kB / 0.5573 GB, free: 4.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1468, allocations: 41.69 kB / 0.5574 GB, free: 4.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.147, allocations: 80.86 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.147, allocations: 0 / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.1473, allocations: 121.6 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.1473, allocations: 5.875 kB / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1474, allocations: 4 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1474, allocations: 0 / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1475, allocations: 19.98 kB / 0.5576 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1475, allocations: 0 / 0.5576 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.1476, allocations: 15.92 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1476, allocations: 0 / 0.5576 GB, free: 3.863 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 (7): * Single equations (assignments): 7 * 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.0001005/0.1477, allocations: 128 kB / 0.5577 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.1477, allocations: 7.953 kB / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.1482, allocations: 122.3 kB / 0.5579 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1482, allocations: 0 / 0.5579 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1482, allocations: 0 / 0.5579 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1482, allocations: 3.938 kB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1488, allocations: 406.8 kB / 0.5583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1488, allocations: 0 / 0.5583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.1489, allocations: 19.98 kB / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1489, allocations: 0 / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1489, allocations: 3.938 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1489, allocations: 4.016 kB / 0.5583 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1489, allocations: 11.98 kB / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1492, allocations: 199.5 kB / 0.5585 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.1493, allocations: 96.98 kB / 0.5586 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1493, allocations: 3.938 kB / 0.5586 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1494, allocations: 11.98 kB / 0.5586 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1494, allocations: 11.92 kB / 0.5586 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1495, allocations: 7.984 kB / 0.5586 GB, free: 2.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1496, allocations: 120.6 kB / 0.5587 GB, free: 2.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1496, allocations: 0 / 0.5587 GB, free: 2.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1499, allocations: 43.86 kB / 0.5588 GB, free: 2.578 MB / 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 (7): * Single equations (assignments): 7 * 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.002451/0.1523, allocations: 1.133 MB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.1527, allocations: 79.86 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1527, allocations: 0 / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1529, allocations: 39.97 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1533, allocations: 22.48 kB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.1557, allocations: 1.585 MB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.156, allocations: 0.7041 MB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.1561, allocations: 12.67 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.1562, allocations: 35.41 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1562, allocations: 0 / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.1854, allocations: 3.531 MB / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.711, allocations: 16.03 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.931950031779706]