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.001315/0.001315, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 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.00142/0.00142, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.199 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.234/0.234, allocations: 46.93 MB / 361.4 MB, free: 4.367 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.002407/0.002407, allocations: 83.84 kB / 0.4972 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.339, allocations: 66.04 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00363/0.3426, allocations: 1.878 MB / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3446, allocations: 1.068 MB / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.3447, allocations: 4 kB / 0.5645 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.345, allocations: 63.72 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.3454, allocations: 131.4 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.346, allocations: 199 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3463, allocations: 211.4 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3464, allocations: 16.56 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3465, allocations: 91.67 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3467, allocations: 107.6 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.3467, allocations: 12 kB / 0.5653 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.3468, allocations: 43.97 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.3469, allocations: 43.84 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.347, allocations: 67.59 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3474, allocations: 202.8 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.3474, allocations: 4 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3474, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3474, allocations: 4 kB / 0.5657 GB, free: 368 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.001354/0.3488, allocations: 0.5005 MB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.3488, allocations: 12.02 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.3489, allocations: 16.84 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3493, allocations: 174.2 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3493, allocations: 12.31 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.3493, allocations: 8.375 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.3499, allocations: 149.8 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3499, allocations: 0 / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3499, allocations: 4 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3499, allocations: 7.984 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.3507, allocations: 163.8 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3519, allocations: 399.6 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3529, allocations: 198.3 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.3534, allocations: 88.75 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3535, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.3541, allocations: 171.2 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3541, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003665/0.3577, allocations: 0.8363 MB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.3578, allocations: 59.39 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.3581, allocations: 250.2 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3582, allocations: 25.7 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3583, allocations: 128.7 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.3583, allocations: 39.69 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.3584, allocations: 33.7 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3586, allocations: 334.9 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.3592, allocations: 175.7 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.3599, allocations: 174 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3611, allocations: 387.8 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3611, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001446/0.3626, allocations: 474.4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.3626, allocations: 63.39 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3626, allocations: 0 / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3627, allocations: 4 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.3631, allocations: 67.91 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3631, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.3635, allocations: 75.78 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3635, allocations: 4 kB / 0.5705 GB, free: 11.16 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.0001555/0.3637, allocations: 138.6 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3637, allocations: 15.91 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3652, allocations: 422.7 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3652, allocations: 4 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3652, allocations: 0 / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3652, allocations: 7.922 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.367, allocations: 0.6963 MB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.367, allocations: 4 kB / 0.5718 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.3674, allocations: 63.91 kB / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3674, allocations: 4 kB / 0.5718 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3674, allocations: 7.938 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3674, allocations: 0 / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3674, allocations: 0 / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.3689, allocations: 498.1 kB / 0.5723 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.3689, allocations: 11.91 kB / 0.5723 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.369, allocations: 11.94 kB / 0.5723 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.3694, allocations: 63.91 kB / 0.5724 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.3695, allocations: 47.92 kB / 0.5725 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.3695, allocations: 7.984 kB / 0.5725 GB, free: 9.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3698, allocations: 184.5 kB / 0.5726 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3698, allocations: 0 / 0.5726 GB, free: 8.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.3701, allocations: 47.89 kB / 0.5727 GB, free: 8.875 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.001615/0.3717, allocations: 399.9 kB / 0.5731 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3733, allocations: 485.4 kB / 0.5735 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3733, allocations: 4 kB / 0.5735 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.374, allocations: 179.7 kB / 0.5737 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3744, allocations: 35.25 kB / 0.5737 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3755, allocations: 374.8 kB / 0.5741 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3759, allocations: 0.7279 MB / 0.5748 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.3761, allocations: 29.41 kB / 0.5748 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.3762, allocations: 19.44 kB / 0.5749 GB, free: 6.711 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3762, allocations: 0 / 0.5749 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Templates: time 0.007886/0.3841, allocations: 3.703 MB / 0.5785 GB, free: 3.016 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 -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/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-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.242251435294747]