Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001535/0.001535, allocations: 113.1 kB / 21.85 MB, free: 80 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.001779/0.001779, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.523/1.523, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2386/0.2386, allocations: 46.94 MB / 362 MB, free: 4.238 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.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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.002327/0.002327, allocations: 79.86 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3263, allocations: 66.09 MB / 0.5624 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003191/0.3295, allocations: 1.87 MB / 0.5642 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3311, allocations: 1.033 MB / 0.5652 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.3312, allocations: 0 / 0.5652 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3314, allocations: 59.73 kB / 0.5652 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.3318, allocations: 131.4 kB / 0.5654 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3322, allocations: 155.6 kB / 0.5655 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.3324, allocations: 195.4 kB / 0.5657 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.3325, allocations: 20.55 kB / 0.5657 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3327, allocations: 87.67 kB / 0.5658 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3328, allocations: 111.6 kB / 0.5659 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.3329, allocations: 12 kB / 0.5659 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.333, allocations: 43.94 kB / 0.566 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3331, allocations: 43.89 kB / 0.566 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.3331, allocations: 75.52 kB / 0.5661 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3334, allocations: 187.2 kB / 0.5663 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3334, allocations: 0 / 0.5663 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3334, allocations: 0 / 0.5663 GB, free: 384 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3334, allocations: 3.938 kB / 0.5663 GB, free: 380 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.001078/0.3345, allocations: 0.5044 MB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3345, allocations: 8.031 kB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.3346, allocations: 20.8 kB / 0.5668 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3348, allocations: 174.2 kB / 0.567 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.3349, allocations: 384 / 0.567 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3349, allocations: 8.375 kB / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.3353, allocations: 145.9 kB / 0.5671 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3353, allocations: 7.922 kB / 0.5671 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3354, allocations: 7.984 kB / 0.5671 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3354, allocations: 0 / 0.5671 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.336, allocations: 159.8 kB / 0.5673 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.3365, allocations: 339.6 kB / 0.5676 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.3372, allocations: 194.3 kB / 0.5678 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.3376, allocations: 92.75 kB / 0.5679 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3376, allocations: 4 kB / 0.5679 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.3381, allocations: 163.2 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3381, allocations: 4 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003342/0.3415, allocations: 0.82 MB / 0.5688 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3415, allocations: 55.41 kB / 0.5689 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3418, allocations: 244.2 kB / 0.5691 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.3418, allocations: 33.7 kB / 0.5691 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.3419, allocations: 128.6 kB / 0.5693 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.342, allocations: 39.69 kB / 0.5693 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.3421, allocations: 33.7 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3422, allocations: 334.8 kB / 0.5697 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.3429, allocations: 227.2 kB / 0.5699 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.3436, allocations: 221.6 kB / 0.5701 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3448, allocations: 367.8 kB / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3448, allocations: 0 / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001456/0.3463, allocations: 0.5097 MB / 0.5709 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.3464, allocations: 67.39 kB / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3464, allocations: 0 / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3464, allocations: 0 / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.3468, allocations: 63.91 kB / 0.5711 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3468, allocations: 0 / 0.5711 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.3471, allocations: 75.84 kB / 0.5711 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3472, allocations: 4 kB / 0.5711 GB, free: 11.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.000166/0.3473, allocations: 142.6 kB / 0.5713 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.3474, allocations: 19.86 kB / 0.5713 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.3488, allocations: 398.7 kB / 0.5717 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3488, allocations: 4 kB / 0.5717 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3488, allocations: 0 / 0.5717 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3488, allocations: 8.031 kB / 0.5717 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.3504, allocations: 0.6808 MB / 0.5723 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3505, allocations: 0 / 0.5723 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.3508, allocations: 67.91 kB / 0.5724 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.3508, allocations: 4 kB / 0.5724 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3508, allocations: 3.938 kB / 0.5724 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.3508, allocations: 4 kB / 0.5724 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3508, allocations: 0 / 0.5724 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3522, allocations: 487 kB / 0.5729 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.3522, allocations: 11.91 kB / 0.5729 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.3522, allocations: 11.94 kB / 0.5729 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3526, allocations: 63.89 kB / 0.573 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3528, allocations: 47.94 kB / 0.573 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.3528, allocations: 7.984 kB / 0.573 GB, free: 9.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.353, allocations: 180.6 kB / 0.5732 GB, free: 8.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.353, allocations: 8 kB / 0.5732 GB, free: 8.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.3533, allocations: 43.94 kB / 0.5732 GB, free: 8.863 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.001514/0.3548, allocations: 405.2 kB / 0.5736 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.3564, allocations: 0.5095 MB / 0.5741 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3564, allocations: 4 kB / 0.5741 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.357, allocations: 175.7 kB / 0.5743 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3574, allocations: 43.23 kB / 0.5743 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.3584, allocations: 354.6 kB / 0.5747 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3587, allocations: 0.7318 MB / 0.5754 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3588, allocations: 21.41 kB / 0.5754 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3589, allocations: 19.44 kB / 0.5754 GB, free: 6.668 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3589, allocations: 0 / 0.5754 GB, free: 6.668 MB / 414.1 MB Notification: Performance of Templates: time 0.007664/0.3666, allocations: 3.656 MB / 0.579 GB, free: 3.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.141891578910872]