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.001303/0.001303, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001507/0.001507, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2346/0.2346, allocations: 46.97 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 179] 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.002232/0.002232, allocations: 59.91 kB / 0.4973 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3596, allocations: 66.03 MB / 0.5618 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003629/0.3633, allocations: 1.819 MB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3652, allocations: 0.9674 MB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.3652, allocations: 0 / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3655, allocations: 63.73 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.3659, allocations: 127.4 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.3664, allocations: 159.1 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3667, allocations: 199.4 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3668, allocations: 17.73 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3669, allocations: 87.67 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.3671, allocations: 107.6 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.3671, allocations: 12 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.3672, allocations: 47.92 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.3673, allocations: 39.91 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.3674, allocations: 59.64 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.3677, allocations: 189.6 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3677, allocations: 4 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3677, allocations: 0 / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3677, allocations: 0 / 0.5656 GB, free: 204 kB / 398.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.00115/0.3689, allocations: 0.5006 MB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3689, allocations: 8.031 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.369, allocations: 24.8 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3692, allocations: 174.2 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3692, allocations: 384 / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.3693, allocations: 16.12 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.3697, allocations: 145.4 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3698, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3698, allocations: 4 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3698, allocations: 4 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.3706, allocations: 159.8 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.371, allocations: 280.4 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.3718, allocations: 198.3 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.3723, allocations: 96.84 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3723, allocations: 4 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005873/0.3729, allocations: 163.2 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3729, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003655/0.3765, allocations: 0.8244 MB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3766, allocations: 55.41 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.377, allocations: 247.8 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.377, allocations: 29.7 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3771, allocations: 128.1 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.3772, allocations: 39.69 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3773, allocations: 33.7 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3775, allocations: 334.8 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.3783, allocations: 223.2 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.3791, allocations: 219.2 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3804, allocations: 370.7 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3804, allocations: 112 / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001622/0.382, allocations: 0.5104 MB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.3821, allocations: 63.41 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3821, allocations: 0 / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3821, allocations: 0 / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.3825, allocations: 71.89 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3826, allocations: 8 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.383, allocations: 63.84 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.383, allocations: 4 kB / 0.5704 GB, free: 11 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: 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.0001708/0.3832, allocations: 145.8 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3832, allocations: 20.42 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3847, allocations: 402.7 kB / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3847, allocations: 0 / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3848, allocations: 0 / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3848, allocations: 3.938 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.3865, allocations: 0.6301 MB / 0.5716 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3865, allocations: 3.938 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.3869, allocations: 63.91 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.3869, allocations: 8 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.3869, allocations: 4 kB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3869, allocations: 3.938 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3869, allocations: 0 / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3884, allocations: 483 kB / 0.5721 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.3884, allocations: 15.91 kB / 0.5722 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3884, allocations: 8 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.3888, allocations: 67.83 kB / 0.5722 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.389, allocations: 43.94 kB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.389, allocations: 7.984 kB / 0.5723 GB, free: 9.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.3892, allocations: 184.6 kB / 0.5724 GB, free: 8.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3892, allocations: 0 / 0.5724 GB, free: 8.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.3895, allocations: 40 kB / 0.5725 GB, free: 8.828 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: 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.00159/0.3911, allocations: 449.3 kB / 0.5729 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3927, allocations: 0.5017 MB / 0.5734 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3927, allocations: 4 kB / 0.5734 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.3934, allocations: 187.7 kB / 0.5736 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3938, allocations: 32.62 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.3948, allocations: 366.6 kB / 0.574 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3949, allocations: 111.2 kB / 0.5741 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.395, allocations: 17.42 kB / 0.5741 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.3951, allocations: 23.44 kB / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3951, allocations: 0 / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of Templates: time 0.007962/0.403, allocations: 3.974 MB / 0.578 GB, free: 3.328 MB / 414.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 -s cvode -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/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] "" [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.237954750991776]