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.001878/0.001878, allocations: 123.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.002234/0.002234, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.741/1.741, 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.2421/0.2421, allocations: 46.92 MB / 357.1 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 0.4914 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1385, allocations: 65.99 MB / 0.5559 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004001/0.1425, allocations: 1.868 MB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1444, allocations: 1.021 MB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1445, allocations: 4 kB / 0.5587 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.1448, allocations: 59.72 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1452, allocations: 123.4 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.1457, allocations: 162.9 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.146, allocations: 203.4 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1462, allocations: 17.56 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1463, allocations: 87.66 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1465, allocations: 111.5 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1465, allocations: 12 kB / 0.5594 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1466, allocations: 43.98 kB / 0.5595 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.715e-05/0.1467, allocations: 39.84 kB / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.1468, allocations: 75.58 kB / 0.5596 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.1473, allocations: 191.1 kB / 0.5598 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1473, allocations: 4 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1473, allocations: 0 / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1473, allocations: 0 / 0.5598 GB, free: 1.316 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.001225/0.1485, allocations: 0.5681 MB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1485, allocations: 12.03 kB / 0.5603 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.1486, allocations: 24.78 kB / 0.5604 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1489, allocations: 237 kB / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1489, allocations: 384 / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.149, allocations: 12.12 kB / 0.5606 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.1495, allocations: 149.5 kB / 0.5607 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1495, allocations: 0 / 0.5607 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1496, allocations: 0 / 0.5607 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1496, allocations: 4 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.1504, allocations: 163.8 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.151, allocations: 360.7 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.1519, allocations: 190.3 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/0.1523, allocations: 88.77 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1523, allocations: 160 / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.1529, allocations: 175.2 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1529, allocations: 0 / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004132/0.157, allocations: 0.817 MB / 0.5625 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1571, allocations: 63.34 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.1574, allocations: 235.2 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.1574, allocations: 33.89 kB / 0.5628 GB, free: 14.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.1575, allocations: 132 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1576, allocations: 39.62 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.1577, allocations: 33.7 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1579, allocations: 330.8 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/0.1587, allocations: 167.8 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.1594, allocations: 169.8 kB / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.161, allocations: 363.9 kB / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.161, allocations: 0 / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001831/0.1628, allocations: 462.5 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.1629, allocations: 59.41 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1629, allocations: 0 / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1629, allocations: 4 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.1634, allocations: 67.91 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1634, allocations: 7.938 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.1638, allocations: 67.89 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.1639, allocations: 8 kB / 0.5646 GB, free: 12.07 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.0001891/0.1641, allocations: 139.9 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1641, allocations: 23.95 kB / 0.5648 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.1659, allocations: 410.7 kB / 0.5652 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1659, allocations: 3.984 kB / 0.5652 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.1659, allocations: 3.938 kB / 0.5652 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1659, allocations: 0 / 0.5652 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.168, allocations: 0.6973 MB / 0.5659 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.168, allocations: 0 / 0.5659 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.1684, allocations: 71.91 kB / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1684, allocations: 3.938 kB / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.1685, allocations: 7.984 kB / 0.5659 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1685, allocations: 0 / 0.5659 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1685, allocations: 0 / 0.5659 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.1702, allocations: 490.8 kB / 0.5664 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.1703, allocations: 92.95 kB / 0.5665 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.1703, allocations: 4 kB / 0.5665 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.1708, allocations: 63.91 kB / 0.5666 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.171, allocations: 47.94 kB / 0.5666 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.171, allocations: 3.984 kB / 0.5666 GB, free: 9.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1712, allocations: 188.6 kB / 0.5668 GB, free: 9.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1712, allocations: 0 / 0.5668 GB, free: 9.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1716, allocations: 44 kB / 0.5668 GB, free: 9.703 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.001625/0.1732, allocations: 408.2 kB / 0.5672 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.175, allocations: 466.3 kB / 0.5677 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.175, allocations: 0 / 0.5677 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.1759, allocations: 183.7 kB / 0.5678 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1763, allocations: 33.91 kB / 0.5679 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1775, allocations: 358.6 kB / 0.5682 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1779, allocations: 0.7318 MB / 0.5689 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.178, allocations: 21.41 kB / 0.569 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1781, allocations: 23.42 kB / 0.569 GB, free: 7.582 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1781, allocations: 0 / 0.569 GB, free: 7.582 MB / 430.1 MB Notification: Performance of Templates: time 0.008848/0.187, allocations: 3.606 MB / 0.5725 GB, free: 3.996 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.518162839114666]