Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002112/0.002112, allocations: 81 kB / 21.25 MB, free: 0.5469 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.002244/0.002244, allocations: 163 kB / 24.5 MB, free: 3.715 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.504/1.504, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 79.86 kB / 443.2 MB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.301, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002689/0.3037, allocations: 1.823 MB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.305, allocations: 0.9735 MB / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.3051, allocations: 0 / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3053, allocations: 63.25 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.3057, allocations: 123 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.306, allocations: 164.3 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3062, allocations: 203.8 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.3063, allocations: 16.06 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3064, allocations: 78.23 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3065, allocations: 103.2 kB / 0.5007 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3066, allocations: 12.91 kB / 0.5008 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.3067, allocations: 44.53 kB / 0.5008 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.3067, allocations: 40.05 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.3068, allocations: 59.33 kB / 0.5009 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3071, allocations: 186 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3071, allocations: 4 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3071, allocations: 3 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3071, allocations: 0 / 0.5011 GB, free: 27.46 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.001096/0.3082, allocations: 0.5008 MB / 0.5016 GB, free: 27.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3083, allocations: 9.062 kB / 0.5016 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.3083, allocations: 21.92 kB / 0.5016 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3085, allocations: 177.3 kB / 0.5018 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3086, allocations: 11.38 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.3086, allocations: 3.656 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3091, allocations: 153 kB / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3091, allocations: 0 / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3091, allocations: 3.219 kB / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3091, allocations: 0 / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.3098, allocations: 160.2 kB / 0.5021 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3102, allocations: 288.3 kB / 0.5024 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.3109, allocations: 188.4 kB / 0.5025 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.3113, allocations: 91.34 kB / 0.5026 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3113, allocations: 6.625 kB / 0.5026 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.3119, allocations: 171.8 kB / 0.5028 GB, free: 26.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3119, allocations: 0 / 0.5028 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.003665/0.3155, allocations: 0.8188 MB / 0.5036 GB, free: 26.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3156, allocations: 54.16 kB / 0.5036 GB, free: 26.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3158, allocations: 246.5 kB / 0.5039 GB, free: 26.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3158, allocations: 29.7 kB / 0.5039 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.3158, allocations: 129.6 kB / 0.504 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3159, allocations: 38.23 kB / 0.5041 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.3159, allocations: 33.41 kB / 0.5041 GB, free: 25.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.316, allocations: 339.8 kB / 0.5044 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.3167, allocations: 224.2 kB / 0.5046 GB, free: 25.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.3174, allocations: 226.7 kB / 0.5049 GB, free: 25.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.3187, allocations: 364.9 kB / 0.5052 GB, free: 25.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3187, allocations: 2.406 kB / 0.5052 GB, free: 25.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001503/0.3202, allocations: 0.4991 MB / 0.5057 GB, free: 24.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.3203, allocations: 64.42 kB / 0.5057 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3203, allocations: 3.109 kB / 0.5058 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3203, allocations: 3.938 kB / 0.5058 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.3207, allocations: 68.36 kB / 0.5058 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3207, allocations: 3.031 kB / 0.5058 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.3211, allocations: 66.62 kB / 0.5059 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3211, allocations: 11.09 kB / 0.5059 GB, free: 24.85 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 9.593e-05/0.3212, allocations: 136.9 kB / 0.506 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3213, allocations: 21.08 kB / 0.506 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.3228, allocations: 405.8 kB / 0.5064 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3228, allocations: 0 / 0.5064 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3228, allocations: 0 / 0.5064 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3228, allocations: 7.938 kB / 0.5064 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3245, allocations: 0.6232 MB / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3245, allocations: 0 / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.3249, allocations: 69.8 kB / 0.5071 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3249, allocations: 3.188 kB / 0.5071 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3249, allocations: 4 kB / 0.5071 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3249, allocations: 0 / 0.5071 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3249, allocations: 7.875 kB / 0.5071 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3263, allocations: 484.6 kB / 0.5076 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3263, allocations: 26.3 kB / 0.5076 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3264, allocations: 0 / 0.5076 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.3268, allocations: 64.52 kB / 0.5077 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3269, allocations: 51.41 kB / 0.5077 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3269, allocations: 7.406 kB / 0.5077 GB, free: 24.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3271, allocations: 179.5 kB / 0.5079 GB, free: 23.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3271, allocations: 0 / 0.5079 GB, free: 23.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3274, allocations: 46.81 kB / 0.508 GB, free: 23.92 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.001612/0.329, allocations: 425.5 kB / 0.5084 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.3306, allocations: 0.5024 MB / 0.5089 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3306, allocations: 0 / 0.5089 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.3314, allocations: 183.7 kB / 0.509 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.3318, allocations: 44.64 kB / 0.5091 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.3327, allocations: 365.5 kB / 0.5094 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.3328, allocations: 113.9 kB / 0.5095 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3329, allocations: 17.81 kB / 0.5095 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.333, allocations: 19.38 kB / 0.5096 GB, free: 23.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.333, allocations: 4 kB / 0.5096 GB, free: 23.09 MB / 446.1 MB Notification: Performance of Templates: time 0.008278/0.3412, allocations: 3.836 MB / 0.5133 GB, free: 22.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.237718077027239]