Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00133/0.00133, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001487/0.001487, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2437/0.2437, allocations: 46.92 MB / 357.8 MB, free: 10.31 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.88 kB / 0.4921 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 65.99 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004064/0.1313, allocations: 1.855 MB / 0.5584 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1334, allocations: 1.056 MB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1335, allocations: 0 / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1338, allocations: 67.66 kB / 0.5594 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.1342, allocations: 119.4 kB / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.1348, allocations: 207 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.1352, allocations: 207.4 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1353, allocations: 21.55 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1355, allocations: 79.69 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1357, allocations: 111.6 kB / 0.5602 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1358, allocations: 12 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1359, allocations: 47.98 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.136, allocations: 47.81 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1361, allocations: 71.53 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.1365, allocations: 187.2 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1365, allocations: 0 / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1365, allocations: 0 / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.1365, allocations: 0 / 0.5605 GB, free: 1.227 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.001322/0.1378, allocations: 0.5875 MB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1379, allocations: 12.03 kB / 0.5611 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.1379, allocations: 20.78 kB / 0.5611 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.1383, allocations: 241 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1383, allocations: 4.375 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1384, allocations: 8.125 kB / 0.5614 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.1389, allocations: 149.5 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.139, allocations: 0 / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.139, allocations: 0 / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.139, allocations: 0 / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008031/0.1398, allocations: 167.9 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.1407, allocations: 436.4 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.1416, allocations: 190.4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.142, allocations: 96.75 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1421, allocations: 0 / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.1427, allocations: 171.1 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1427, allocations: 0 / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004149/0.1468, allocations: 0.8324 MB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.1469, allocations: 71.27 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1472, allocations: 248 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.1473, allocations: 33.7 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.1474, allocations: 124.3 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1474, allocations: 39.67 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1475, allocations: 33.7 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1477, allocations: 338.8 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.1485, allocations: 175.7 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.1493, allocations: 177.8 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.1507, allocations: 370.6 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1507, allocations: 4 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00173/0.1525, allocations: 472.4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.1525, allocations: 67.39 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1525, allocations: 0 / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1526, allocations: 4 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.153, allocations: 75.78 kB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.153, allocations: 7.938 kB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.1535, allocations: 59.91 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.1535, allocations: 11.98 kB / 0.5655 GB, free: 11.8 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.0001685/0.1537, allocations: 136 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.1537, allocations: 15.91 kB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.1554, allocations: 426.7 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1554, allocations: 0 / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1554, allocations: 3.938 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1555, allocations: 4 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.1578, allocations: 0.7245 MB / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1578, allocations: 0 / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.1582, allocations: 75.84 kB / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1582, allocations: 3.938 kB / 0.5669 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1582, allocations: 3.984 kB / 0.5669 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1582, allocations: 4 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1582, allocations: 0 / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.1599, allocations: 483.1 kB / 0.5673 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.1599, allocations: 100.9 kB / 0.5674 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.16, allocations: 3.984 kB / 0.5674 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.1604, allocations: 63.91 kB / 0.5675 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.1607, allocations: 47.94 kB / 0.5676 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1607, allocations: 8 kB / 0.5676 GB, free: 9.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1609, allocations: 181.6 kB / 0.5677 GB, free: 9.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1609, allocations: 0 / 0.5677 GB, free: 9.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1613, allocations: 51.94 kB / 0.5678 GB, free: 9.391 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.001599/0.1629, allocations: 408.6 kB / 0.5682 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.1646, allocations: 474.4 kB / 0.5686 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1646, allocations: 4 kB / 0.5686 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.1654, allocations: 179.7 kB / 0.5688 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1658, allocations: 44.61 kB / 0.5688 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.167, allocations: 388.4 kB / 0.5692 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.1675, allocations: 0.724 MB / 0.5699 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1676, allocations: 27.42 kB / 0.5699 GB, free: 7.242 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1676, allocations: 0 / 0.5699 GB, free: 7.242 MB / 430.1 MB Notification: Performance of Templates: time 0.006923/0.1746, allocations: 3.32 MB / 0.5732 GB, free: 3.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.120124548993772]