Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001167/0.001167, allocations: 88.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.001939/0.001939, allocations: 164 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 1.031/1.031, 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.3108/0.3108, allocations: 34.85 MB / 296.6 MB, free: 412 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.378e-05, allocations: 5.125 kB / 326.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002812/0.002836, allocations: 1.823 MB / 327.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.004271, allocations: 1.006 MB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.004343, allocations: 3.938 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.004621, allocations: 95.61 kB / 329 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.0049, allocations: 119.4 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.005097, allocations: 83.66 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.005271, allocations: 128.3 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.005349, allocations: 15.97 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.005471, allocations: 67.81 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.005566, allocations: 51.88 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.005581, allocations: 4 kB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.005687, allocations: 67.84 kB / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.005732, allocations: 27.86 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.00577, allocations: 27.91 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.005951, allocations: 123.5 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005953, allocations: 0 / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005954, allocations: 0 / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.005957, allocations: 0 / 329.7 MB, free: 3.367 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003573/0.006314, allocations: 337.4 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006349, allocations: 11.97 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.006383, allocations: 12.92 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006544, allocations: 150.3 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.006559, allocations: 4.375 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.006575, allocations: 8.375 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.006688, allocations: 69.75 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006698, allocations: 4.172 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.006705, allocations: 384 / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.006712, allocations: 7.922 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.006742, allocations: 15.92 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.006968, allocations: 178 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.007108, allocations: 85.3 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.007128, allocations: 8.859 kB / 330.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.007139, allocations: 12.12 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.815e-05/0.007228, allocations: 70.12 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.007229, allocations: 0 / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004382/0.007667, allocations: 173.8 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.007696, allocations: 55.41 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.007833, allocations: 197.6 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.007849, allocations: 25.7 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.007886, allocations: 100.1 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.00792, allocations: 39.67 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.007959, allocations: 25.72 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.008046, allocations: 330.8 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.00807, allocations: 14.81 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.008103, allocations: 29.7 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.008163, allocations: 49.11 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008164, allocations: 0 / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001116/0.008276, allocations: 88.95 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.008286, allocations: 4 kB / 331.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008291, allocations: 4.234 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.008304, allocations: 8.031 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.008371, allocations: 19.98 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008376, allocations: 3.984 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.008408, allocations: 8 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.008415, allocations: 4 kB / 331.8 MB, free: 1.074 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 (13): * Single equations (assignments): 13 * 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.65e-05/0.008492, allocations: 120.6 kB / 331.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.008511, allocations: 15.92 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.008645, allocations: 92.11 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008647, allocations: 0 / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008648, allocations: 0 / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.008654, allocations: 7.984 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.008943, allocations: 328.2 kB / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008945, allocations: 0 / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.008986, allocations: 19.92 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.00899, allocations: 4 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008998, allocations: 4 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009, allocations: 0 / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/0.009017, allocations: 4 kB / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.009143, allocations: 227.8 kB / 332.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.009163, allocations: 15.97 kB / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.009185, allocations: 8 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.009247, allocations: 3.984 kB / 332.6 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.009274, allocations: 7.984 kB / 332.6 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.009289, allocations: 8 kB / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.009348, allocations: 64.52 kB / 332.7 MB, free: 84 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009348, allocations: 0 / 332.7 MB, free: 84 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.009565, allocations: 31.92 kB / 332.7 MB, free: 52 kB / 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: 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 (12): * Single equations (assignments): 10 * 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.001631/0.0112, allocations: 0.6502 MB / 333.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01131, allocations: 52.77 kB / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01132, allocations: 0 / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.01136, allocations: 36.78 kB / 333.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01159, allocations: 35.94 kB / 333.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.01194, allocations: 255.7 kB / 333.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.01199, allocations: 71.52 kB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.01203, allocations: 20.59 kB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.01211, allocations: 75.36 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01211, allocations: 0 / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Templates: time 0.004586/0.0167, allocations: 2.301 MB / 336.2 MB, free: 12.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.0391438235528767]