Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.000968/0.000968, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001134/0.001134, allocations: 166.5 kB / 24.91 MB, free: 9.199 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.9759/0.9759, allocations: 177 MB / 205.2 MB, free: 5.48 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.2903/0.2903, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.573e-05, allocations: 4.281 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002507/0.002533, allocations: 1.767 MB / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003843, allocations: 0.994 MB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.003927, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.004254, allocations: 51.75 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.004525, allocations: 107.4 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.004688, allocations: 71.62 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.004849, allocations: 104.4 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.004894, allocations: 8.219 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.004999, allocations: 55.78 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.005086, allocations: 31.89 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.005103, allocations: 4 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.005181, allocations: 24 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.005234, allocations: 31.86 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.005271, allocations: 19.92 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.005443, allocations: 99.59 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005446, allocations: 0 / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005446, allocations: 3.938 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.00545, allocations: 4 kB / 329.4 MB, free: 3.66 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.0003954/0.005845, allocations: 341.4 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.00588, allocations: 12.03 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.005915, allocations: 12.92 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.0061, allocations: 158.4 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.006116, allocations: 4.375 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.006124, allocations: 384 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.006232, allocations: 57.77 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.006239, allocations: 192 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.006246, allocations: 384 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006252, allocations: 3.938 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.006277, allocations: 11.92 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.006382, allocations: 70.7 kB / 330.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.006468, allocations: 41.44 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.00649, allocations: 12.86 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.0065, allocations: 0 / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.471e-05/0.006595, allocations: 62.2 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.006596, allocations: 0 / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001271/0.006723, allocations: 61.61 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.006758, allocations: 55.41 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.006915, allocations: 219.9 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.00693, allocations: 29.7 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.006975, allocations: 96.11 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.007006, allocations: 11.89 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.007044, allocations: 25.7 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.007137, allocations: 330.7 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.00716, allocations: 6.828 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.007183, allocations: 13.72 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/0.007233, allocations: 43.53 kB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007235, allocations: 0 / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.537e-05/0.00732, allocations: 72.44 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007333, allocations: 4 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.007338, allocations: 0 / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.007351, allocations: 4 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.007419, allocations: 11.98 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007421, allocations: 0 / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.007459, allocations: 7.938 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.007466, allocations: 7.984 kB / 331.2 MB, free: 1.723 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 7.278e-05/0.007539, allocations: 114.8 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.007556, allocations: 7.984 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.007664, allocations: 78.73 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007666, allocations: 0 / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007668, allocations: 0 / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.007673, allocations: 7.938 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.007767, allocations: 89.84 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007768, allocations: 0 / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.007792, allocations: 4 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007794, allocations: 0 / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.007799, allocations: 0 / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007801, allocations: 0 / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.007803, allocations: 3.984 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.369e-05/0.007897, allocations: 98.64 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.007915, allocations: 15.91 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.007932, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.00796, allocations: 4.188 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.007984, allocations: 7.984 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.007999, allocations: 8 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.008068, allocations: 69 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008068, allocations: 4 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000172/0.00824, allocations: 19.98 kB / 331.7 MB, free: 1.145 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.001311/0.009551, allocations: 0.4923 MB / 332.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.456e-05/0.009646, allocations: 36.72 kB / 332.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.00965, allocations: 4 kB / 332.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.009678, allocations: 12.86 kB / 332.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.009854, allocations: 35.91 kB / 332.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.01022, allocations: 235.4 kB / 332.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.01026, allocations: 67.33 kB / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.0103, allocations: 16.55 kB / 332.6 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.01037, allocations: 63.36 kB / 332.6 MB, free: 392 kB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01037, allocations: 0 / 332.6 MB, free: 392 kB / 298.7 MB Notification: Performance of Templates: time 0.00413/0.0145, allocations: 1.799 MB / 334.4 MB, free: 14.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.083792989142239]