Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.91 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.89 kB / 0.491 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1317, allocations: 66.05 MB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003393/0.135, allocations: 1.859 MB / 0.5573 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1367, allocations: 1.028 MB / 0.5583 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.1368, allocations: 3.938 kB / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.137, allocations: 63.66 kB / 0.5584 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.1374, allocations: 119.4 kB / 0.5585 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1379, allocations: 163.6 kB / 0.5586 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1382, allocations: 199.5 kB / 0.5588 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1383, allocations: 21.53 kB / 0.5589 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1384, allocations: 79.69 kB / 0.5589 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1386, allocations: 111.6 kB / 0.559 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.1386, allocations: 12 kB / 0.559 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1387, allocations: 40 kB / 0.5591 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.1388, allocations: 51.75 kB / 0.5591 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.1389, allocations: 71.59 kB / 0.5592 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1392, allocations: 191.2 kB / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1392, allocations: 0 / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1392, allocations: 0 / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1392, allocations: 0 / 0.5594 GB, free: 1.523 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.001173/0.1404, allocations: 0.5875 MB / 0.56 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1404, allocations: 8.031 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1405, allocations: 38.75 kB / 0.56 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.1405, allocations: 24.83 kB / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1408, allocations: 241.6 kB / 0.5603 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1408, allocations: 4.375 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1409, allocations: 8.375 kB / 0.5603 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.1414, allocations: 149.7 kB / 0.5604 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1414, allocations: 0 / 0.5604 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1414, allocations: 4 kB / 0.5604 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1414, allocations: 0 / 0.5604 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.1422, allocations: 167.7 kB / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1427, allocations: 372.5 kB / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.1435, allocations: 186.4 kB / 0.5611 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.1439, allocations: 92.75 kB / 0.5612 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1439, allocations: 4 kB / 0.5612 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005937/0.1445, allocations: 163.2 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1445, allocations: 0 / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.00393/0.1485, allocations: 0.8167 MB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1485, allocations: 55.52 kB / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1488, allocations: 253.5 kB / 0.5624 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1488, allocations: 37.69 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.1489, allocations: 132.1 kB / 0.5626 GB, free: 13.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.149, allocations: 47.67 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.1491, allocations: 33.7 kB / 0.5627 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1493, allocations: 326.8 kB / 0.563 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.15, allocations: 171.8 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.1508, allocations: 163.8 kB / 0.5633 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.1522, allocations: 365.8 kB / 0.5637 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1522, allocations: 0 / 0.5637 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001711/0.154, allocations: 456.5 kB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.154, allocations: 63.41 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.154, allocations: 0 / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.154, allocations: 4 kB / 0.5642 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.1545, allocations: 75.83 kB / 0.5642 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1545, allocations: 0 / 0.5642 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.1549, allocations: 71.84 kB / 0.5643 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.1549, allocations: 4.562 kB / 0.5643 GB, free: 12.18 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.0001476/0.1551, allocations: 133.8 kB / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1551, allocations: 23.84 kB / 0.5645 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.1567, allocations: 414.7 kB / 0.5649 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1568, allocations: 0 / 0.5649 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1568, allocations: 4 kB / 0.5649 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1568, allocations: 7.875 kB / 0.5649 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.1587, allocations: 0.7041 MB / 0.5656 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1587, allocations: 0 / 0.5656 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.1591, allocations: 71.84 kB / 0.5656 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1591, allocations: 0 / 0.5656 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1591, allocations: 3.938 kB / 0.5656 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1591, allocations: 4 kB / 0.5656 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1591, allocations: 3.984 kB / 0.5656 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1607, allocations: 483 kB / 0.5661 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.1608, allocations: 93 kB / 0.5662 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1609, allocations: 15.88 kB / 0.5662 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.1613, allocations: 59.91 kB / 0.5663 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1615, allocations: 47.94 kB / 0.5663 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1615, allocations: 7.984 kB / 0.5663 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.1617, allocations: 192.4 kB / 0.5665 GB, free: 9.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1617, allocations: 0 / 0.5665 GB, free: 9.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000311/0.162, allocations: 43.94 kB / 0.5665 GB, free: 9.797 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.003412/0.1654, allocations: 1.297 MB / 0.5678 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1671, allocations: 470.3 kB / 0.5683 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1671, allocations: 0 / 0.5683 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.1679, allocations: 183.7 kB / 0.5684 GB, free: 7.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1683, allocations: 39.09 kB / 0.5685 GB, free: 7.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/0.1748, allocations: 2.842 MB / 0.5712 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1753, allocations: 0.7202 MB / 0.5719 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1754, allocations: 25.41 kB / 0.572 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1755, allocations: 51.42 kB / 0.572 GB, free: 4.16 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1755, allocations: 4 kB / 0.572 GB, free: 4.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2049, allocations: 5.764 MB / 0.5777 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.222, allocations: 8.844 kB / 0.5777 GB, free: 14.43 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_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.542654588003643]