Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001332/0.001332, allocations: 82.17 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.001433/0.001433, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.48/1.48, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2157/0.2157, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 83.84 kB / 443.2 MB, free: 6.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 66.05 MB / 0.4973 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002917/0.3364, allocations: 1.827 MB / 0.4991 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3379, allocations: 0.9907 MB / 0.5 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.3379, allocations: 7.031 kB / 0.5 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3382, allocations: 62.67 kB / 0.5001 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3385, allocations: 123 kB / 0.5002 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.339, allocations: 206.3 kB / 0.5004 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.3392, allocations: 208.8 kB / 0.5006 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3393, allocations: 15.84 kB / 0.5006 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3395, allocations: 89.73 kB / 0.5007 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3396, allocations: 98.33 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3396, allocations: 13 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.3397, allocations: 43.88 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.3398, allocations: 43.88 kB / 0.5009 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.3399, allocations: 58.42 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3402, allocations: 191.6 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3402, allocations: 0 / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3402, allocations: 11.88 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3402, allocations: 0 / 0.5012 GB, free: 27.19 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.001062/0.3412, allocations: 0.503 MB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3413, allocations: 9.094 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.3413, allocations: 21.44 kB / 0.5017 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.3415, allocations: 174.2 kB / 0.5018 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3416, allocations: 7.594 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3416, allocations: 10.75 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.3421, allocations: 152.1 kB / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3421, allocations: 6.984 kB / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3421, allocations: 0 / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3421, allocations: 0 / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.3428, allocations: 171.7 kB / 0.5022 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.3435, allocations: 347.2 kB / 0.5025 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.3443, allocations: 196.3 kB / 0.5027 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.3447, allocations: 93.89 kB / 0.5028 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3447, allocations: 0 / 0.5028 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000559/0.3453, allocations: 169.2 kB / 0.5029 GB, free: 26.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3453, allocations: 4 kB / 0.503 GB, free: 26.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.003731/0.349, allocations: 0.8345 MB / 0.5038 GB, free: 25.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3491, allocations: 54.59 kB / 0.5038 GB, free: 25.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3493, allocations: 250.4 kB / 0.5041 GB, free: 25.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3493, allocations: 33.05 kB / 0.5041 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.3493, allocations: 124.1 kB / 0.5042 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.3494, allocations: 42.22 kB / 0.5042 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.3495, allocations: 33.02 kB / 0.5043 GB, free: 25.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.3495, allocations: 335 kB / 0.5046 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.3502, allocations: 229.9 kB / 0.5048 GB, free: 25.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.3509, allocations: 232.8 kB / 0.505 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3523, allocations: 376.2 kB / 0.5054 GB, free: 24.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3523, allocations: 0 / 0.5054 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001585/0.3539, allocations: 0.5222 MB / 0.5059 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.3539, allocations: 67.67 kB / 0.506 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3539, allocations: 4 kB / 0.506 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3539, allocations: 0 / 0.506 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.3544, allocations: 62.44 kB / 0.506 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3544, allocations: 0 / 0.506 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3548, allocations: 73.75 kB / 0.5061 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3548, allocations: 3.156 kB / 0.5061 GB, free: 24.56 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.0001199/0.3549, allocations: 151.2 kB / 0.5063 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.355, allocations: 14 kB / 0.5063 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.3565, allocations: 421.4 kB / 0.5067 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3565, allocations: 4.109 kB / 0.5067 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3565, allocations: 6.969 kB / 0.5067 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3565, allocations: 0 / 0.5067 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.3582, allocations: 0.6394 MB / 0.5073 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3582, allocations: 3.594 kB / 0.5073 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3586, allocations: 73.59 kB / 0.5074 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3586, allocations: 0 / 0.5074 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3586, allocations: 0 / 0.5074 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3586, allocations: 3 kB / 0.5074 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3586, allocations: 3.938 kB / 0.5074 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.3601, allocations: 0.4885 MB / 0.5079 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.3601, allocations: 16.81 kB / 0.5079 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3602, allocations: 0 / 0.5079 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.3606, allocations: 63.53 kB / 0.5079 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3607, allocations: 49.75 kB / 0.508 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3608, allocations: 8.797 kB / 0.508 GB, free: 23.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3609, allocations: 189.6 kB / 0.5082 GB, free: 23.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 0.5082 GB, free: 23.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3612, allocations: 46.55 kB / 0.5082 GB, free: 23.61 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.001592/0.3628, allocations: 429.3 kB / 0.5086 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3644, allocations: 0.5252 MB / 0.5091 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3644, allocations: 4 kB / 0.5091 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.3652, allocations: 181.3 kB / 0.5093 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3656, allocations: 43.05 kB / 0.5094 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.3666, allocations: 374.7 kB / 0.5097 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3667, allocations: 117.5 kB / 0.5098 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3668, allocations: 27.97 kB / 0.5099 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.3669, allocations: 23.88 kB / 0.5099 GB, free: 22.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3669, allocations: 3.062 kB / 0.5099 GB, free: 22.77 MB / 446.1 MB Notification: Performance of Templates: time 0.009362/0.3763, allocations: 3.871 MB / 0.5137 GB, free: 22.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.127914629993029]