Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.0008006/0.0008006, 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.0009487/0.0009487, allocations: 163.2 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.9803/0.9803, allocations: 177 MB / 205.2 MB, free: 5.008 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.28/0.28, allocations: 34.86 MB / 296.6 MB, free: 392 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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 3.938 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.391e-05, allocations: 3.734 kB / 326.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003036/0.00306, allocations: 1.805 MB / 327.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.004735, allocations: 1.009 MB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.004824, allocations: 0 / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.00516, allocations: 31.78 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.005491, allocations: 103.4 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.005728, allocations: 79.66 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.005903, allocations: 116.3 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.006001, allocations: 11.98 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.006102, allocations: 43.91 kB / 329.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.006185, allocations: 31.89 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.006201, allocations: 7.938 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.006294, allocations: 47.86 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.006344, allocations: 19.92 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.00638, allocations: 19.92 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.006549, allocations: 103.7 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006552, allocations: 0 / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006552, allocations: 0 / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.006561, allocations: 3.984 kB / 329.5 MB, free: 3.562 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003885/0.006949, allocations: 317.5 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.006988, allocations: 12.03 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.007025, allocations: 12.92 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.007199, allocations: 142.2 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.007214, allocations: 4.375 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.007238, allocations: 4.375 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007374, allocations: 69.75 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.00739, allocations: 192 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.007399, allocations: 4.375 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.007407, allocations: 3.938 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.007439, allocations: 11.98 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.007712, allocations: 161.9 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.007822, allocations: 85.28 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.007847, allocations: 16.92 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.00786, allocations: 0 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.007978, allocations: 66.2 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.00798, allocations: 0 / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003844/0.008365, allocations: 113.5 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.008415, allocations: 51.41 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008546, allocations: 181.2 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.008565, allocations: 33.7 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.008607, allocations: 96.11 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.008637, allocations: 23.78 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.008675, allocations: 25.64 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.008795, allocations: 326.8 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.008815, allocations: 14.83 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.008842, allocations: 17.72 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.008894, allocations: 52.81 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.008896, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.596e-05/0.008982, allocations: 72.42 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008995, allocations: 7.938 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.009004, allocations: 8 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.009019, allocations: 0 / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.009095, allocations: 15.98 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.0091, allocations: 7.969 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.009133, allocations: 12 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.009141, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.511e-05/0.009216, allocations: 112.7 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.009231, allocations: 19.92 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.009341, allocations: 71.08 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009344, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.009346, allocations: 3.984 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.00935, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.009605, allocations: 303.6 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.009608, allocations: 3.938 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.009637, allocations: 12 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.00964, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.009647, allocations: 3.984 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.009648, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.009651, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.009764, allocations: 215 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.009783, allocations: 11.89 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.009799, allocations: 0 / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.009843, allocations: 12.02 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.009874, allocations: 8 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.009886, allocations: 3.984 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.009933, allocations: 47.66 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009933, allocations: 0 / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.01009, allocations: 23.92 kB / 332.2 MB, free: 0.543 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001222/0.01131, allocations: 0.5728 MB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.01141, allocations: 36.84 kB / 332.8 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.01141, allocations: 4 kB / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.01144, allocations: 28.77 kB / 332.9 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.01163, allocations: 35.11 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.01195, allocations: 216.2 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.012, allocations: 67.33 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01204, allocations: 25.2 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.01211, allocations: 63.38 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01211, allocations: 0 / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003783/0.01589, allocations: 2.015 MB / 335.3 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.917432317044586]