Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001441/0.001441, 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.001045/0.001045, allocations: 160.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 1.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.441 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.2723/0.2723, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.967e-05, allocations: 4.281 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002869/0.002899, allocations: 1.771 MB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004373, allocations: 0.9979 MB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004483, allocations: 0 / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.004903, allocations: 51.75 kB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.005293, allocations: 95.47 kB / 329 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.005542, allocations: 83.66 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.005724, allocations: 100.3 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.005771, allocations: 12.2 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.005874, allocations: 51.83 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.005958, allocations: 23.92 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.005973, allocations: 3.938 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.006051, allocations: 35.98 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.006098, allocations: 23.91 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.00614, allocations: 23.88 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.006318, allocations: 103.6 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006321, allocations: 0 / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006322, allocations: 4 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006326, allocations: 0 / 329.4 MB, free: 3.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004194/0.006745, allocations: 337.4 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.006785, allocations: 12.03 kB / 329.7 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.006826, allocations: 4.938 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007033, allocations: 162.4 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.007053, allocations: 8.359 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.007062, allocations: 384 / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.007208, allocations: 61.77 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.007217, allocations: 192 / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.007226, allocations: 4.375 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007234, allocations: 3.938 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.00726, allocations: 8 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.007389, allocations: 70.69 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.007491, allocations: 45.36 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.007513, allocations: 8.859 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.007528, allocations: 0 / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.007644, allocations: 62.22 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.007645, allocations: 4 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001461/0.007791, allocations: 61.61 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.007828, allocations: 51.41 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.007976, allocations: 219.9 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.007992, allocations: 25.7 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.008034, allocations: 104.1 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.008068, allocations: 11.91 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.008102, allocations: 17.72 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.008202, allocations: 330.8 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.008224, allocations: 10.81 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.008248, allocations: 21.72 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.008297, allocations: 35.55 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008299, allocations: 0 / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.235e-05/0.008381, allocations: 64.5 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.008396, allocations: 4 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.008403, allocations: 4 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.008418, allocations: 0 / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.008484, allocations: 15.88 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008488, allocations: 3.984 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.008522, allocations: 11.97 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.008528, allocations: 0 / 331.2 MB, free: 1.715 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 (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.013e-05/0.008608, allocations: 123.5 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.008624, allocations: 11.98 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.008726, allocations: 62.77 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.00873, allocations: 4 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.008732, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.008737, allocations: 7.875 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.008834, allocations: 89.84 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008836, allocations: 0 / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.008862, allocations: 12 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008864, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00887, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.008874, allocations: 4 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008875, allocations: 0 / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.534e-05/0.008961, allocations: 86.69 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.008978, allocations: 15.91 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.008995, allocations: 8 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.00902, allocations: 4.172 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.009048, allocations: 4 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.00906, allocations: 4 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.009121, allocations: 80.94 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009121, allocations: 0 / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.009249, allocations: 16 kB / 331.7 MB, free: 1.137 MB / 298.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: 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 (6): * Single equations (assignments): 4 * 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.001312/0.01056, allocations: 0.49 MB / 332.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01067, allocations: 32.78 kB / 332.2 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01068, allocations: 0 / 332.2 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.01071, allocations: 28.77 kB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.01088, allocations: 43 kB / 332.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01124, allocations: 231.5 kB / 332.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.01128, allocations: 71.33 kB / 332.6 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.01131, allocations: 4.5 kB / 332.6 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.01138, allocations: 71.36 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01138, allocations: 0 / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of Templates: time 0.003756/0.01513, allocations: 1.786 MB / 334.4 MB, free: 14.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.0645649498328567]