Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.0017/0.0017, 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.002257/0.002257, 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.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2463/0.2463, allocations: 44.91 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.002031/0.002031, allocations: 72.17 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1396, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003326/0.1429, allocations: 1.613 MB / 0.5533 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.144, allocations: 0.5455 MB / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.144, allocations: 0 / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.1447, allocations: 455.1 kB / 0.5543 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.1452, allocations: 287.3 kB / 0.5546 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1455, allocations: 127.6 kB / 0.5547 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1457, allocations: 163.6 kB / 0.5549 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1458, allocations: 8.188 kB / 0.5549 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.146, allocations: 111.8 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1463, allocations: 247.5 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1463, allocations: 4 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1464, allocations: 27.98 kB / 0.5552 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1465, allocations: 79.69 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1466, allocations: 99 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.1469, allocations: 254.9 kB / 0.5557 GB, free: 6.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.147, allocations: 0 / 0.5557 GB, free: 6.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.147, allocations: 0 / 0.5557 GB, free: 6.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.147, allocations: 4 kB / 0.5557 GB, free: 6.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001012/0.148, allocations: 0.6568 MB / 0.5563 GB, free: 5.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.148, allocations: 8.031 kB / 0.5563 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1481, allocations: 38.73 kB / 0.5563 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.1481, allocations: 48.61 kB / 0.5564 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.1487, allocations: 308.6 kB / 0.5567 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.1487, allocations: 384 / 0.5567 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1487, allocations: 4.125 kB / 0.5567 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1488, allocations: 49.69 kB / 0.5567 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1489, allocations: 4 kB / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1489, allocations: 0 / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1489, allocations: 0 / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.149, allocations: 23.92 kB / 0.5568 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1496, allocations: 384.8 kB / 0.5571 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/0.1497, allocations: 26.56 kB / 0.5572 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.1497, allocations: 20.91 kB / 0.5572 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1498, allocations: 4 kB / 0.5572 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1498, allocations: 30.56 kB / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1498, allocations: 0 / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003289/0.1501, allocations: 101.3 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1502, allocations: 55.39 kB / 0.5574 GB, free: 4.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1512, allocations: 0.8778 MB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1512, allocations: 25.7 kB / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1514, allocations: 224 kB / 0.5585 GB, free: 3.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1515, allocations: 7.953 kB / 0.5585 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1515, allocations: 9.719 kB / 0.5585 GB, free: 3.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003031/0.1518, allocations: 370.7 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.1518, allocations: 4 kB / 0.5588 GB, free: 2.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.1519, allocations: 11.98 kB / 0.5588 GB, free: 2.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.152, allocations: 32.84 kB / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.152, allocations: 0 / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001595/0.1521, allocations: 89.41 kB / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1522, allocations: 11.94 kB / 0.559 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1522, allocations: 0 / 0.559 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1522, allocations: 0 / 0.559 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.1523, allocations: 7.984 kB / 0.559 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1523, allocations: 4.031 kB / 0.559 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.1523, allocations: 4 kB / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1523, allocations: 3.938 kB / 0.559 GB, free: 2.457 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 (2): * Single equations (assignments): 2 * 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.0002268/0.1525, allocations: 212 kB / 0.5592 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.1526, allocations: 39.72 kB / 0.5592 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.1529, allocations: 108.7 kB / 0.5593 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1529, allocations: 0 / 0.5593 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1529, allocations: 0 / 0.5593 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1529, allocations: 4.031 kB / 0.5593 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.1532, allocations: 285.5 kB / 0.5596 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1532, allocations: 0 / 0.5596 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1532, allocations: 7.984 kB / 0.5596 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1532, allocations: 0 / 0.5596 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1533, allocations: 4 kB / 0.5596 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1533, allocations: 7.984 kB / 0.5596 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1533, allocations: 0 / 0.5596 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1535, allocations: 195.1 kB / 0.5598 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.1536, allocations: 112.8 kB / 0.5599 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1536, allocations: 4 kB / 0.5599 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.1537, allocations: 0 / 0.5599 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.1537, allocations: 7.984 kB / 0.5599 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1537, allocations: 4 kB / 0.5599 GB, free: 1.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000729/0.1544, allocations: 0.6589 MB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1544, allocations: 0 / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1547, allocations: 23.95 kB / 0.5606 GB, free: 0.707 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 (2): * Single equations (assignments): 2 * 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.001808/0.1565, allocations: 0.9811 MB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1567, allocations: 19.92 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1567, allocations: 0 / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.1567, allocations: 15.98 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.1572, allocations: 25.44 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.161, allocations: 3.163 MB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.1616, allocations: 0.824 MB / 0.5655 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.1617, allocations: 11.73 kB / 0.5655 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1618, allocations: 107.4 kB / 0.5656 GB, free: 11.55 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1618, allocations: 0 / 0.5656 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.1942, allocations: 5.778 MB / 0.5713 GB, free: 5.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/8.998, allocations: 3.25 kB / 0.5713 GB, free: 5.824 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.26496097818017]