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.001465/0.001465, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001077/0.001077, allocations: 164.4 kB / 24.91 MB, free: 8.715 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.9849/0.9849, allocations: 177 MB / 205.2 MB, free: 5.059 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.2572/0.2572, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 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.493e-06/1.493e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.958e-05, allocations: 6.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00272/0.002739, allocations: 1.72 MB / 327.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003879, allocations: 0.5757 MB / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.003947, allocations: 0 / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.004248, allocations: 67.66 kB / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.004596, allocations: 103.5 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.005035, allocations: 167.6 kB / 328.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.005216, allocations: 100.4 kB / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005322, allocations: 20.14 kB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.005416, allocations: 47.89 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005523, allocations: 43.88 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.00554, allocations: 4 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.005641, allocations: 51.92 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.005709, allocations: 23.91 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.005741, allocations: 15.94 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005942, allocations: 103.6 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005945, allocations: 0 / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.005946, allocations: 4 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005951, allocations: 0 / 329 MB, free: 4.09 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.0004043/0.006355, allocations: 313.6 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.00639, allocations: 12.02 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.006427, allocations: 8.938 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.006593, allocations: 145.5 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.006602, allocations: 384 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.006624, allocations: 4.375 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.00674, allocations: 62.94 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.006752, allocations: 8.109 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.006759, allocations: 4.375 kB / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006766, allocations: 384 / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.0068, allocations: 19.88 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.007098, allocations: 191 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.00724, allocations: 38.66 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.007261, allocations: 12.8 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.007278, allocations: 0 / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.007301, allocations: 34.56 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.007302, allocations: 4 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005911/0.007893, allocations: 206.2 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.00793, allocations: 55.39 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.008047, allocations: 163.1 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.00806, allocations: 25.7 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.0081, allocations: 100.1 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.008136, allocations: 43.61 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.008188, allocations: 25.72 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.008285, allocations: 326.8 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.00831, allocations: 11.98 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.008336, allocations: 13.7 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.008397, allocations: 39.66 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008398, allocations: 0 / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001051/0.008503, allocations: 73 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.008517, allocations: 8 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008522, allocations: 0 / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.008536, allocations: 4 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.00862, allocations: 27.92 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.008623, allocations: 0 / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.008656, allocations: 7.984 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008665, allocations: 8 kB / 330.9 MB, free: 1.977 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 7.02e-05/0.008735, allocations: 108.7 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.008767, allocations: 23.86 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.008921, allocations: 82.38 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.008924, allocations: 4 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008925, allocations: 0 / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008928, allocations: 4 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.009256, allocations: 288.3 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009258, allocations: 0 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.009324, allocations: 23.92 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.009328, allocations: 4 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.009334, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.009336, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009337, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.00947, allocations: 193 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.009482, allocations: 8.016 kB / 331.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.009496, allocations: 4 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.00956, allocations: 8 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.009592, allocations: 7.984 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.009599, allocations: 4 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.009651, allocations: 52.45 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009651, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.009801, allocations: 27.88 kB / 331.8 MB, free: 1.078 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.001175/0.01098, allocations: 0.5789 MB / 332.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.01107, allocations: 44.78 kB / 332.4 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01107, allocations: 4 kB / 332.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.01111, allocations: 32.78 kB / 332.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.01126, allocations: 29.06 kB / 332.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.0116, allocations: 259.8 kB / 332.7 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.01164, allocations: 71.33 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.01168, allocations: 16.48 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.01174, allocations: 67.38 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01174, allocations: 0 / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of Templates: time 0.003263/0.015, allocations: 1.752 MB / 334.6 MB, free: 14.46 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 -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: 3.0284598330035806]