Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001824/0.001824, allocations: 75.58 kB / 21.24 MB, free: 0.5469 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.002132/0.002132, allocations: 161.1 kB / 24.5 MB, free: 3.719 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.2193/0.2193, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.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_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_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 71.89 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003302/0.362, allocations: 1.822 MB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3635, allocations: 0.9658 MB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.3636, allocations: 0 / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.3639, allocations: 63.08 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.3642, allocations: 126.8 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.3646, allocations: 158.5 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.3648, allocations: 203.7 kB / 0.5005 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.365, allocations: 12.06 kB / 0.5005 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3651, allocations: 93.2 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3652, allocations: 95.52 kB / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3653, allocations: 13.09 kB / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.3653, allocations: 48.11 kB / 0.5007 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.3654, allocations: 39.44 kB / 0.5008 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.3655, allocations: 66.55 kB / 0.5008 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3657, allocations: 180.3 kB / 0.501 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3658, allocations: 0 / 0.501 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3658, allocations: 0 / 0.501 GB, free: 27.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3658, allocations: 0 / 0.501 GB, free: 27.5 MB / 446.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.001007/0.3668, allocations: 0.504 MB / 0.5015 GB, free: 27.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3668, allocations: 9.719 kB / 0.5015 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.3669, allocations: 22.2 kB / 0.5015 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3671, allocations: 179 kB / 0.5017 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3671, allocations: 7.688 kB / 0.5017 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3671, allocations: 10.53 kB / 0.5017 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.3676, allocations: 143.7 kB / 0.5019 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3676, allocations: 4 kB / 0.5019 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3677, allocations: 0 / 0.5019 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3677, allocations: 7.188 kB / 0.5019 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.3684, allocations: 156.8 kB / 0.502 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.3688, allocations: 289 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.3696, allocations: 192.9 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.37, allocations: 88.66 kB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3701, allocations: 3.219 kB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.3706, allocations: 172.1 kB / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.3706, allocations: 0 / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.003846/0.3745, allocations: 0.8172 MB / 0.5035 GB, free: 26.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3745, allocations: 54.62 kB / 0.5036 GB, free: 26.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3748, allocations: 248.3 kB / 0.5038 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3748, allocations: 36 kB / 0.5039 GB, free: 26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.3748, allocations: 121.3 kB / 0.504 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3749, allocations: 41.52 kB / 0.504 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.375, allocations: 34.2 kB / 0.504 GB, free: 25.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.375, allocations: 328.8 kB / 0.5044 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/0.3758, allocations: 228 kB / 0.5046 GB, free: 25.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.3766, allocations: 224 kB / 0.5048 GB, free: 25.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.378, allocations: 362.8 kB / 0.5051 GB, free: 25.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.378, allocations: 0.5625 kB / 0.5051 GB, free: 25.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001576/0.3796, allocations: 0.5096 MB / 0.5056 GB, free: 24.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.3796, allocations: 67.61 kB / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3796, allocations: 0 / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3797, allocations: 0 / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3801, allocations: 75.41 kB / 0.5058 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3801, allocations: 7.922 kB / 0.5058 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.3806, allocations: 67.38 kB / 0.5058 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3806, allocations: 10.38 kB / 0.5059 GB, free: 24.89 MB / 446.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.0001403/0.3807, allocations: 144.7 kB / 0.506 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.3808, allocations: 17.89 kB / 0.506 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.3824, allocations: 409.8 kB / 0.5064 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3824, allocations: 0 / 0.5064 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3824, allocations: 3 kB / 0.5064 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3824, allocations: 6.844 kB / 0.5064 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3842, allocations: 0.6183 MB / 0.507 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3842, allocations: 3 kB / 0.507 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.3846, allocations: 66.17 kB / 0.5071 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3846, allocations: 0 / 0.5071 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3846, allocations: 7.094 kB / 0.5071 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3846, allocations: 14.94 kB / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3846, allocations: 0 / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3862, allocations: 481.5 kB / 0.5076 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.3862, allocations: 13.94 kB / 0.5076 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3862, allocations: 3.062 kB / 0.5076 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.3867, allocations: 71.83 kB / 0.5076 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3869, allocations: 46.73 kB / 0.5077 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3869, allocations: 3.031 kB / 0.5077 GB, free: 24.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.387, allocations: 185.6 kB / 0.5079 GB, free: 23.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 0.5079 GB, free: 23.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.3874, allocations: 39.91 kB / 0.5079 GB, free: 23.95 MB / 446.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.001697/0.3891, allocations: 445.3 kB / 0.5083 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.3908, allocations: 0.5084 MB / 0.5088 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3908, allocations: 0 / 0.5088 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008178/0.3917, allocations: 178.8 kB / 0.509 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3921, allocations: 28.75 kB / 0.509 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.393, allocations: 366.1 kB / 0.5094 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.206e-05/0.3931, allocations: 113.2 kB / 0.5095 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.3932, allocations: 18.47 kB / 0.5095 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.3933, allocations: 30.14 kB / 0.5095 GB, free: 23.14 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3933, allocations: 0 / 0.5095 GB, free: 23.14 MB / 446.1 MB Notification: Performance of Templates: time 0.008877/0.4022, allocations: 3.822 MB / 0.5133 GB, free: 22.72 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.136874809046276]