Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001393/0.001393, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001429/0.001429, allocations: 218 kB / 25.13 MB, free: 3.609 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.42/1.42, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 79.86 kB / 0.4978 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3425, allocations: 66.08 MB / 0.5623 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004251/0.3467, allocations: 1.874 MB / 0.5642 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3488, allocations: 1.064 MB / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.3489, allocations: 0 / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3492, allocations: 63.66 kB / 0.5653 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.3496, allocations: 131.4 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.3501, allocations: 198.5 kB / 0.5656 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3504, allocations: 219.3 kB / 0.5658 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3506, allocations: 17.41 kB / 0.5658 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3507, allocations: 87.67 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3509, allocations: 107.6 kB / 0.566 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.3509, allocations: 16 kB / 0.566 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.351, allocations: 39.98 kB / 0.5661 GB, free: 428 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.3511, allocations: 43.78 kB / 0.5661 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.3512, allocations: 75.58 kB / 0.5662 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.3515, allocations: 190.1 kB / 0.5664 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3515, allocations: 0 / 0.5664 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3515, allocations: 4 kB / 0.5664 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3515, allocations: 7.938 kB / 0.5664 GB, free: 108 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.001097/0.3526, allocations: 0.4966 MB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3526, allocations: 12.03 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3527, allocations: 20.83 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.353, allocations: 182.1 kB / 0.5671 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.353, allocations: 4.375 kB / 0.5671 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.353, allocations: 8.375 kB / 0.5671 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.3535, allocations: 153.8 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3535, allocations: 0 / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3535, allocations: 0 / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3535, allocations: 8 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.3542, allocations: 163.8 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.355, allocations: 395.6 kB / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.3557, allocations: 194.4 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.356, allocations: 92.75 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.3561, allocations: 4.141 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.3566, allocations: 171.2 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3566, allocations: 0 / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003387/0.36, allocations: 0.8323 MB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3601, allocations: 55.41 kB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3604, allocations: 254.1 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3604, allocations: 25.7 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3605, allocations: 124.1 kB / 0.5694 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.3606, allocations: 43.69 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.3606, allocations: 37.7 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3608, allocations: 335.3 kB / 0.5698 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.3615, allocations: 227.2 kB / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.3622, allocations: 235.3 kB / 0.5703 GB, free: 11.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3634, allocations: 386.2 kB / 0.5707 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3634, allocations: 0 / 0.5707 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001501/0.3649, allocations: 0.5155 MB / 0.5712 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.365, allocations: 67.34 kB / 0.5712 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.365, allocations: 4 kB / 0.5712 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.365, allocations: 0 / 0.5712 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.3654, allocations: 71.83 kB / 0.5713 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3654, allocations: 4 kB / 0.5713 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.3658, allocations: 71.78 kB / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3658, allocations: 4 kB / 0.5714 GB, free: 10.7 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.0001725/0.366, allocations: 138.7 kB / 0.5715 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.366, allocations: 15.91 kB / 0.5715 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3675, allocations: 426.6 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.3675, allocations: 3.984 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3675, allocations: 0 / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3675, allocations: 3.938 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3693, allocations: 0.6885 MB / 0.5726 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3693, allocations: 8 kB / 0.5726 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.3696, allocations: 71.83 kB / 0.5727 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3696, allocations: 4 kB / 0.5727 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3696, allocations: 3.938 kB / 0.5727 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3697, allocations: 0 / 0.5727 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3697, allocations: 0 / 0.5727 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3711, allocations: 494.3 kB / 0.5732 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.3711, allocations: 19.89 kB / 0.5732 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.3712, allocations: 7.938 kB / 0.5732 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.3716, allocations: 63.91 kB / 0.5732 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.3717, allocations: 47.92 kB / 0.5733 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3717, allocations: 4 kB / 0.5733 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.372, allocations: 184.5 kB / 0.5735 GB, free: 8.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 0 / 0.5735 GB, free: 8.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.3723, allocations: 51.94 kB / 0.5735 GB, free: 8.414 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.001602/0.3739, allocations: 407 kB / 0.5739 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.3754, allocations: 0.5173 MB / 0.5744 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3754, allocations: 3.938 kB / 0.5744 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.3761, allocations: 187.8 kB / 0.5746 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3765, allocations: 32.59 kB / 0.5746 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.3775, allocations: 374.8 kB / 0.575 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3778, allocations: 0.724 MB / 0.5757 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.378, allocations: 33.39 kB / 0.5757 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.3781, allocations: 23.38 kB / 0.5757 GB, free: 6.176 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3781, allocations: 0 / 0.5757 GB, free: 6.176 MB / 414.1 MB Notification: Performance of Templates: time 0.007911/0.386, allocations: 3.713 MB / 0.5794 GB, free: 2.473 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.050548471044749]