Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001454/0.001454, 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.002043/0.002043, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.086/1.086, allocations: 177 MB / 205.2 MB, free: 5.027 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.2858/0.2858, allocations: 34.86 MB / 296.6 MB, free: 496 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.474e-05, allocations: 6.469 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003814/0.003849, allocations: 1.77 MB / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.005586, allocations: 0.9979 MB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.005672, allocations: 0 / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.006, allocations: 47.75 kB / 328.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.006344, allocations: 107.4 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.006582, allocations: 79.61 kB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.006777, allocations: 96.44 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.006826, allocations: 8.219 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.006946, allocations: 55.77 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.007032, allocations: 27.91 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.007047, allocations: 0 / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.007131, allocations: 35.98 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.007184, allocations: 27.86 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.007226, allocations: 23.92 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.007415, allocations: 107.5 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007418, allocations: 0 / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007419, allocations: 0 / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.007423, allocations: 0 / 329.4 MB, free: 3.656 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.0004777/0.007901, allocations: 333.4 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.007945, allocations: 12.03 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.007982, allocations: 8.922 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.008189, allocations: 158.4 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.008207, allocations: 8.375 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.008216, allocations: 384 / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.008342, allocations: 61.77 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00835, allocations: 192 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.008358, allocations: 384 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.008366, allocations: 3.938 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.008397, allocations: 15.92 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.008514, allocations: 62.7 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.008612, allocations: 41.44 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.008636, allocations: 16.84 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.008648, allocations: 0 / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.008755, allocations: 66.2 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.008756, allocations: 0 / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001364/0.008892, allocations: 61.61 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.008926, allocations: 51.41 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.009097, allocations: 216 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.009116, allocations: 25.7 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.009153, allocations: 96.11 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.00919, allocations: 27.81 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.009223, allocations: 17.72 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.009327, allocations: 326.8 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.009351, allocations: 10.83 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.009381, allocations: 25.69 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.636e-05/0.009437, allocations: 35.3 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.00944, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.244e-05/0.009532, allocations: 64.67 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009546, allocations: 4 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.009553, allocations: 4.062 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.009568, allocations: 8.031 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.009635, allocations: 8 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.009638, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.009681, allocations: 11.94 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.009687, allocations: 0 / 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.765e-05/0.009764, allocations: 116.7 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.009781, allocations: 8 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.009893, allocations: 70.7 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.009897, allocations: 7.984 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009899, allocations: 0 / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.009903, allocations: 7.938 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.954e-05/0.01, allocations: 85.86 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01, allocations: 0 / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.01003, allocations: 4 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01004, allocations: 3.984 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.01005, allocations: 4 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01005, allocations: 4 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01005, allocations: 0 / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.748e-05/0.01015, allocations: 90.62 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.01017, allocations: 15.91 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01019, allocations: 4 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.01022, allocations: 8 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.01025, allocations: 7.984 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01026, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.01035, allocations: 73 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01035, allocations: 0 / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01054, allocations: 19.94 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.00153/0.01207, allocations: 0.4976 MB / 332.2 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01217, allocations: 44.72 kB / 332.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01217, allocations: 0 / 332.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.01221, allocations: 16.86 kB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01239, allocations: 31.95 kB / 332.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.0128, allocations: 231.5 kB / 332.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.01285, allocations: 71.33 kB / 332.6 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.01289, allocations: 8.484 kB / 332.6 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.01296, allocations: 67.36 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01296, allocations: 4.062 kB / 332.6 MB, free: 380 kB / 298.7 MB Notification: Performance of Templates: time 0.004418/0.01738, allocations: 1.785 MB / 334.4 MB, free: 14.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.166354291141033]