Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001823/0.001823, allocations: 123.4 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.002128/0.002128, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.502/1.502, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 46.91 MB / 357.1 MB, free: 10.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003449/0.1425, allocations: 1.858 MB / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1443, allocations: 1.025 MB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.1444, allocations: 3.938 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1446, allocations: 67.66 kB / 0.5583 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.145, allocations: 119.4 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1454, allocations: 159.2 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1457, allocations: 207.4 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1458, allocations: 13.56 kB / 0.5588 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1459, allocations: 91.72 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1461, allocations: 111.6 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1461, allocations: 12 kB / 0.559 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.1462, allocations: 39.98 kB / 0.559 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.1463, allocations: 39.84 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.1464, allocations: 75.56 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1467, allocations: 195.1 kB / 0.5593 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1467, allocations: 0 / 0.5593 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1467, allocations: 0 / 0.5593 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1467, allocations: 0 / 0.5593 GB, free: 1.852 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001222/0.1479, allocations: 0.5836 MB / 0.5599 GB, free: 1.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1479, allocations: 12.03 kB / 0.5599 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.148, allocations: 38.73 kB / 0.5599 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.148, allocations: 16.84 kB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1483, allocations: 240.8 kB / 0.5602 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1484, allocations: 8.359 kB / 0.5602 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1484, allocations: 11.94 kB / 0.5602 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.1489, allocations: 145.5 kB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1489, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1489, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1489, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.1497, allocations: 171.7 kB / 0.5605 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1502, allocations: 376.5 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.1511, allocations: 186.5 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.1515, allocations: 96.75 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1515, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.1521, allocations: 163.2 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1521, allocations: 4 kB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004006/0.1562, allocations: 0.8167 MB / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1562, allocations: 63.28 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1565, allocations: 252.2 kB / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1565, allocations: 37.7 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.1566, allocations: 128 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.1567, allocations: 35.69 kB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.1568, allocations: 33.7 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1569, allocations: 330.8 kB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.1577, allocations: 171.8 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.1584, allocations: 167.8 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1599, allocations: 365.6 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1599, allocations: 0 / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001689/0.1616, allocations: 469.2 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.1616, allocations: 55.41 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1616, allocations: 0 / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1616, allocations: 4 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.1621, allocations: 75.83 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1621, allocations: 7.938 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.1625, allocations: 63.91 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1625, allocations: 4 kB / 0.5642 GB, free: 12.5 MB / 430.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001681/0.1627, allocations: 132 kB / 0.5644 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.1628, allocations: 19.86 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.1644, allocations: 406.8 kB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1644, allocations: 11.88 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1644, allocations: 0 / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1644, allocations: 3.984 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.1662, allocations: 0.7051 MB / 0.5655 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1662, allocations: 0 / 0.5655 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.1667, allocations: 67.84 kB / 0.5655 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1667, allocations: 3.984 kB / 0.5655 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.1667, allocations: 15.98 kB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1667, allocations: 4.5 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1667, allocations: 0 / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.1683, allocations: 471 kB / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.1683, allocations: 104.9 kB / 0.5661 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1684, allocations: 12 kB / 0.5661 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.1688, allocations: 59.91 kB / 0.5662 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.169, allocations: 51.88 kB / 0.5662 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.169, allocations: 7.984 kB / 0.5662 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1692, allocations: 185.8 kB / 0.5664 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1692, allocations: 4 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1695, allocations: 43.94 kB / 0.5664 GB, free: 10.13 MB / 430.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003496/0.173, allocations: 1.301 MB / 0.5677 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.1748, allocations: 466.3 kB / 0.5682 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1748, allocations: 0 / 0.5682 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.1755, allocations: 175.8 kB / 0.5683 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.176, allocations: 39.47 kB / 0.5684 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.1825, allocations: 2.846 MB / 0.5711 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1829, allocations: 0.7319 MB / 0.5719 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.183, allocations: 21.41 kB / 0.5719 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.1832, allocations: 59.41 kB / 0.5719 GB, free: 4.488 MB / 430.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1832, allocations: 0 / 0.5719 GB, free: 4.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.2124, allocations: 5.771 MB / 0.5776 GB, free: 14.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.34, allocations: 30.97 kB / 0.5776 GB, free: 14.75 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 11.588206073996844]