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.008776/0.008776, allocations: 107.2 kB / 21.98 MB, free: 5.219 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.002286/0.002286, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.469/1.469, allocations: 230.5 MB / 258.9 MB, free: 8.035 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.2203/0.2203, allocations: 46.93 MB / 362.3 MB, free: 4.309 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.002315/0.002315, allocations: 75.88 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3534, allocations: 66.08 MB / 0.5628 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003356/0.3568, allocations: 1.874 MB / 0.5646 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3586, allocations: 1.068 MB / 0.5656 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.3586, allocations: 3.938 kB / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3589, allocations: 59.72 kB / 0.5657 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.3593, allocations: 127.4 kB / 0.5658 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.3598, allocations: 202.6 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3601, allocations: 207.4 kB / 0.5662 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3602, allocations: 13.75 kB / 0.5662 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3604, allocations: 91.67 kB / 0.5663 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3605, allocations: 111.6 kB / 0.5664 GB, free: 500 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3606, allocations: 12 kB / 0.5664 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3607, allocations: 43.92 kB / 0.5665 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.3607, allocations: 43.83 kB / 0.5665 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.3608, allocations: 75.58 kB / 0.5666 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.3611, allocations: 189.7 kB / 0.5668 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3611, allocations: 0 / 0.5668 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3611, allocations: 0 / 0.5668 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3612, allocations: 0 / 0.5668 GB, free: 140 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.001094/0.3622, allocations: 0.5119 MB / 0.5673 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3623, allocations: 8.031 kB / 0.5673 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3623, allocations: 20.84 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3626, allocations: 174.2 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3626, allocations: 4.375 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.3626, allocations: 16.31 kB / 0.5675 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.3632, allocations: 146.1 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3632, allocations: 3.938 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3632, allocations: 3.938 kB / 0.5676 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3632, allocations: 0 / 0.5676 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3639, allocations: 171.8 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.3647, allocations: 399.6 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.3655, allocations: 198.3 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.3659, allocations: 100.7 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3659, allocations: 0 / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/0.3665, allocations: 167.2 kB / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3665, allocations: 0 / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003447/0.3699, allocations: 0.84 MB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.37, allocations: 59.39 kB / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.3702, allocations: 242.2 kB / 0.5697 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3703, allocations: 29.7 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.3704, allocations: 124.1 kB / 0.5699 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3704, allocations: 39.69 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.3705, allocations: 33.7 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3706, allocations: 334.8 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.3713, allocations: 175.9 kB / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/0.372, allocations: 179 kB / 0.5706 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.3732, allocations: 379.9 kB / 0.571 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3732, allocations: 0 / 0.571 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001435/0.3746, allocations: 474.9 kB / 0.5714 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.3747, allocations: 63.39 kB / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3747, allocations: 0 / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3747, allocations: 0 / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.3751, allocations: 71.91 kB / 0.5715 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3751, allocations: 4 kB / 0.5715 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.3755, allocations: 63.84 kB / 0.5716 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.3755, allocations: 11.94 kB / 0.5716 GB, free: 10.93 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.0001541/0.3757, allocations: 143.2 kB / 0.5717 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3757, allocations: 15.91 kB / 0.5718 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.3771, allocations: 422.7 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3771, allocations: 0 / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3772, allocations: 4 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3772, allocations: 3.984 kB / 0.5722 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3789, allocations: 0.7002 MB / 0.5729 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3789, allocations: 0 / 0.5729 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.3792, allocations: 67.91 kB / 0.5729 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3792, allocations: 0 / 0.5729 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.3793, allocations: 8 kB / 0.5729 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3793, allocations: 3.938 kB / 0.5729 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3793, allocations: 0 / 0.5729 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3807, allocations: 498.5 kB / 0.5734 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.3808, allocations: 19.86 kB / 0.5734 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.3808, allocations: 0 / 0.5734 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3812, allocations: 71.83 kB / 0.5735 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.3814, allocations: 47.94 kB / 0.5735 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3814, allocations: 7.984 kB / 0.5735 GB, free: 8.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.3816, allocations: 184.5 kB / 0.5737 GB, free: 8.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3816, allocations: 0 / 0.5737 GB, free: 8.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.3819, allocations: 44 kB / 0.5738 GB, free: 8.637 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.001529/0.3834, allocations: 397.2 kB / 0.5741 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.385, allocations: 486.3 kB / 0.5746 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.385, allocations: 0 / 0.5746 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.3857, allocations: 183.7 kB / 0.5748 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3861, allocations: 28.66 kB / 0.5748 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3871, allocations: 396.5 kB / 0.5752 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3875, allocations: 0.7279 MB / 0.5759 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3876, allocations: 23.44 kB / 0.5759 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3876, allocations: 0 / 0.5759 GB, free: 6.473 MB / 414.1 MB Notification: Performance of Templates: time 0.006272/0.3939, allocations: 3.317 MB / 0.5792 GB, free: 3.16 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/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.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.008627003058791]