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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002375/0.002375, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.645/1.645, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.275/0.275, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.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.002268/0.002268, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3575, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003548/0.361, allocations: 1.824 MB / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.363, allocations: 0.9909 MB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.3631, allocations: 3.938 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3634, allocations: 67.66 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.3638, allocations: 115.4 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.3644, allocations: 215.1 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3647, allocations: 203.4 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3648, allocations: 17.72 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.365, allocations: 91.62 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3652, allocations: 103.6 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3652, allocations: 12 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3653, allocations: 47.98 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.3654, allocations: 43.83 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.3655, allocations: 59.66 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3658, allocations: 193.7 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3659, allocations: 0 / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3659, allocations: 0 / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3659, allocations: 0 / 0.565 GB, free: 188 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.001145/0.367, allocations: 0.5121 MB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.367, allocations: 8.031 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.3671, allocations: 20.84 kB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.3674, allocations: 178.1 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3674, allocations: 8.359 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.3674, allocations: 8.125 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.368, allocations: 145.5 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.368, allocations: 0 / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.368, allocations: 11.97 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.368, allocations: 0 / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.3687, allocations: 163.8 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.3695, allocations: 352.2 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.3704, allocations: 198.4 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.3707, allocations: 88.75 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3708, allocations: 4 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/0.3714, allocations: 171.2 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.3714, allocations: 112 / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003778/0.3752, allocations: 0.8439 MB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3752, allocations: 55.41 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3755, allocations: 252 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3755, allocations: 29.7 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3756, allocations: 124.1 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.3757, allocations: 43.77 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.3758, allocations: 37.7 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.376, allocations: 334.8 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.3767, allocations: 227.2 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.3775, allocations: 231.2 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3789, allocations: 378.5 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3789, allocations: 0 / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001667/0.3805, allocations: 0.5194 MB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.3806, allocations: 63.39 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3806, allocations: 0 / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3806, allocations: 0 / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.3811, allocations: 75.84 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3811, allocations: 4 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3815, allocations: 67.78 kB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3815, allocations: 8 kB / 0.5699 GB, free: 10.82 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.0001636/0.3817, allocations: 133.8 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3817, allocations: 15.91 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.3833, allocations: 430.6 kB / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3833, allocations: 0 / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3833, allocations: 0 / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3833, allocations: 11.92 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3852, allocations: 0.6382 MB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3852, allocations: 0 / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.3855, allocations: 67.84 kB / 0.5712 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3855, allocations: 0 / 0.5712 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3856, allocations: 7.984 kB / 0.5712 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3856, allocations: 11.94 kB / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3856, allocations: 0 / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.3871, allocations: 487 kB / 0.5717 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.3872, allocations: 16.47 kB / 0.5717 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3872, allocations: 4 kB / 0.5717 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.3876, allocations: 71.83 kB / 0.5718 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3878, allocations: 43.94 kB / 0.5718 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3878, allocations: 7.984 kB / 0.5718 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.388, allocations: 181.8 kB / 0.572 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.388, allocations: 7.875 kB / 0.572 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.3883, allocations: 47.95 kB / 0.572 GB, free: 8.602 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.001813/0.3901, allocations: 432 kB / 0.5724 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3919, allocations: 0.5251 MB / 0.573 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3919, allocations: 4 kB / 0.573 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.3926, allocations: 179.8 kB / 0.5731 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.393, allocations: 36.58 kB / 0.5732 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3941, allocations: 370.8 kB / 0.5735 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3942, allocations: 127.2 kB / 0.5736 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.3944, allocations: 29.41 kB / 0.5737 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.3944, allocations: 23.36 kB / 0.5737 GB, free: 6.996 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3944, allocations: 0 / 0.5737 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Templates: time 0.008539/0.403, allocations: 4.022 MB / 0.5776 GB, free: 3.023 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/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.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.n,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.u1[1],t_new.u2[1],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[1],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.65025453036651]