Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001295/0.001295, allocations: 84.73 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.00111/0.00111, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9606/0.9606, 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.2766/0.2766, allocations: 34.86 MB / 296.6 MB, free: 384 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.176e-05, allocations: 9.344 kB / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002518/0.00254, allocations: 1.744 MB / 327.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.003386, allocations: 0.5484 MB / 328.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.003443, allocations: 0 / 328.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.003997, allocations: 451.1 kB / 328.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.004397, allocations: 299.1 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.004683, allocations: 131.6 kB / 329.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.004913, allocations: 175.6 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005017, allocations: 20.47 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005148, allocations: 115.8 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.005343, allocations: 199.6 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.00536, allocations: 4 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.005443, allocations: 35.92 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.005544, allocations: 83.7 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.005583, allocations: 43.67 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005815, allocations: 203.2 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005818, allocations: 0 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005818, allocations: 0 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.005824, allocations: 0 / 330 MB, free: 3.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005382/0.006362, allocations: 0.5502 MB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006401, allocations: 8.031 kB / 330.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.006449, allocations: 28.91 kB / 330.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.006668, allocations: 246 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.006677, allocations: 384 / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.006699, allocations: 8.375 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.00681, allocations: 62.94 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006821, allocations: 192 / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.006828, allocations: 4.375 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006835, allocations: 384 / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.00686, allocations: 15.92 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.00708, allocations: 164.2 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.007135, allocations: 22.58 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.007151, allocations: 8.859 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007168, allocations: 4.078 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.007193, allocations: 42.56 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.007194, allocations: 0 / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000329/0.007523, allocations: 129.5 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.007558, allocations: 51.41 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.00793, allocations: 0.5322 MB / 331.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007943, allocations: 29.64 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.00801, allocations: 145.2 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.008038, allocations: 27.78 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.008071, allocations: 13.72 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.008191, allocations: 366.7 kB / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.008208, allocations: 8 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.008223, allocations: 4 kB / 332.4 MB, free: 432 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.008269, allocations: 28.83 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.008269, allocations: 0 / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.74e-05/0.008357, allocations: 65.66 kB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.008375, allocations: 11.94 kB / 332.5 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008381, allocations: 0 / 332.5 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.008401, allocations: 3.984 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.008484, allocations: 15.94 kB / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.008487, allocations: 320 / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.008519, allocations: 11.98 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008526, allocations: 4 kB / 332.6 MB, free: 280 kB / 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 (7): * Single equations (assignments): 7 * 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 8.217e-05/0.008608, allocations: 112.7 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.008641, allocations: 27.91 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.008791, allocations: 97.52 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.008795, allocations: 7.938 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.008797, allocations: 0 / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008801, allocations: 0 / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.009056, allocations: 278.7 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009057, allocations: 0 / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.009103, allocations: 27.92 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009105, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-06/0.00911, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009111, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009112, allocations: 3.938 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.092e-05/0.009203, allocations: 167.5 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.009228, allocations: 47.59 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.009244, allocations: 0 / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.009286, allocations: 4 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.009316, allocations: 11.92 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.009319, allocations: 4 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.0095, allocations: 283.2 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0095, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.00965, allocations: 24 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001063/0.01071, allocations: 0.4948 MB / 334.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.0108, allocations: 28.78 kB / 334.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.01081, allocations: 8 kB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.01083, allocations: 16.84 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.01102, allocations: 34.27 kB / 334.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.01163, allocations: 0.59 MB / 334.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.01171, allocations: 119.3 kB / 334.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.01174, allocations: 7.984 kB / 335 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.01181, allocations: 63.38 kB / 335 MB, free: 13.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01181, allocations: 0 / 335 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003865/0.01567, allocations: 1.554 MB / 336.6 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.9600835372693837]