Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0009312/0.0009312, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 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.001036/0.001036, allocations: 166.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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 0.9852/0.9852, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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.263/0.263, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.529e-05, allocations: 6.312 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00239/0.002415, allocations: 1.768 MB / 327.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.003219, allocations: 0.5756 MB / 328.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.003274, allocations: 4 kB / 328.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.003519, allocations: 59.72 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.003782, allocations: 99.52 kB / 328.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.004106, allocations: 171.5 kB / 328.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.004252, allocations: 92.48 kB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.004338, allocations: 28.08 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.004402, allocations: 47.89 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.004485, allocations: 47.88 kB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.004498, allocations: 4 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.004585, allocations: 47.92 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.004638, allocations: 31.84 kB / 328.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.004663, allocations: 19.92 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004814, allocations: 91.66 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004816, allocations: 0 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004817, allocations: 0 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.004821, allocations: 0 / 329 MB, free: 4 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003138/0.005135, allocations: 321.6 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.005167, allocations: 15.97 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.005194, allocations: 4.938 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.005322, allocations: 142.3 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.00533, allocations: 4.375 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.005346, allocations: 384 / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.00544, allocations: 70.86 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005448, allocations: 4.188 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.005455, allocations: 4.375 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.00546, allocations: 384 / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.005485, allocations: 11.94 kB / 329.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.005723, allocations: 198.9 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.005833, allocations: 30.56 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.00585, allocations: 8.859 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.005865, allocations: 4 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005884, allocations: 34.69 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.005885, allocations: 0 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004861/0.006371, allocations: 218.8 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.006399, allocations: 55.39 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.006498, allocations: 162.5 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.006508, allocations: 29.69 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.006537, allocations: 96.08 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.006563, allocations: 39.67 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.006596, allocations: 29.64 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.006666, allocations: 326.8 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.006685, allocations: 8 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.006702, allocations: 8 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.006755, allocations: 49.45 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006756, allocations: 0 / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.3e-05/0.006839, allocations: 69.61 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006851, allocations: 4 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006855, allocations: 3.938 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.006865, allocations: 4 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.006928, allocations: 19.98 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.006931, allocations: 0 / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.006955, allocations: 11.98 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.006963, allocations: 4 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 5.586e-05/0.007019, allocations: 120.6 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.007041, allocations: 15.92 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.007162, allocations: 81.61 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.007166, allocations: 4 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.007168, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007171, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.007438, allocations: 293 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00744, allocations: 0 / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.007495, allocations: 24.23 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.007499, allocations: 4 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.007505, allocations: 4 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007507, allocations: 0 / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.007512, allocations: 11.92 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.007618, allocations: 185.1 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.007628, allocations: 7.953 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.00764, allocations: 3.984 kB / 331.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.007685, allocations: 15.98 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.007714, allocations: 3.984 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.00772, allocations: 8 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.007759, allocations: 48.47 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007759, allocations: 3.938 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.007911, allocations: 35.86 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001233/0.009144, allocations: 0.5494 MB / 332.4 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.975e-05/0.009244, allocations: 44.78 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.009248, allocations: 4 kB / 332.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.009282, allocations: 36.72 kB / 332.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.009467, allocations: 29.09 kB / 332.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.009838, allocations: 255.8 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.009881, allocations: 79.45 kB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.009925, allocations: 16.47 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.009985, allocations: 71.3 kB / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009985, allocations: 0 / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of Templates: time 0.00337/0.01336, allocations: 1.744 MB / 334.7 MB, free: 14.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7738117119297385]