Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.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.001412/0.001412, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001003/0.001003, allocations: 169.2 kB / 25.61 MB, free: 8.91 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.006/1.006, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.054e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006568/0.006588, allocations: 5.045 MB / 279.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.01092, allocations: 2.005 MB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.01138, allocations: 19.88 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.01178, allocations: 194.3 kB / 281.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.01288, allocations: 496.8 kB / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.01412, allocations: 0.5419 MB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.01608, allocations: 1.775 MB / 284.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.01646, allocations: 216 kB / 284.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.01816, allocations: 1.037 MB / 285.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.01929, allocations: 0.7054 MB / 286.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000418/0.01971, allocations: 136 kB / 286.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.02024, allocations: 243.7 kB / 286.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.02087, allocations: 378.8 kB / 286.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.02147, allocations: 498.9 kB / 287.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.02292, allocations: 1.238 MB / 288.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02292, allocations: 0 / 288.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.02292, allocations: 0 / 288.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.02295, allocations: 0 / 288.6 MB, free: 5.742 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001976/0.02493, allocations: 1.624 MB / 290.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.02496, allocations: 8.031 kB / 290.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.02544, allocations: 252.1 kB / 290.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.02606, allocations: 0.5667 MB / 291 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.02621, allocations: 264.7 kB / 291.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.02634, allocations: 104.3 kB / 291.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.02736, allocations: 0.9212 MB / 292.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.02739, allocations: 15.92 kB / 292.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.02747, allocations: 40 kB / 292.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.02748, allocations: 24 kB / 292.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/0.02831, allocations: 0.6183 MB / 293 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.03172, allocations: 2.696 MB / 295.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.03253, allocations: 0.6566 MB / 296.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.0329, allocations: 319.2 kB / 296.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.03296, allocations: 25.31 kB / 296.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.03299, allocations: 50.7 kB / 296.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=136): time 2.254e-06/0.03299, allocations: 3.938 kB / 296.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005108/0.0381, allocations: 3.314 MB / 300.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.03814, allocations: 94.42 kB / 300.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.03849, allocations: 0.5645 MB / 300.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.03857, allocations: 61.7 kB / 300.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.03899, allocations: 400.8 kB / 301.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.03926, allocations: 0.5152 MB / 301.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.03954, allocations: 273 kB / 302 MB, free: 8.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.03966, allocations: 0.5159 MB / 302.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.04004, allocations: 267.8 kB / 302.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.04046, allocations: 448.8 kB / 303.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.0411, allocations: 0.5886 MB / 303.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0411, allocations: 0 / 303.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.001377/0.04248, allocations: 1.134 MB / 304.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.04249, allocations: 4 kB / 304.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.0425, allocations: 7.984 kB / 304.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/0.04336, allocations: 0.6122 MB / 305.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.04383, allocations: 231.7 kB / 305.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.04501, allocations: 2.057 MB / 307.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.04544, allocations: 115.8 kB / 307.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.04551, allocations: 43.97 kB / 308 MB, free: 1.879 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (bearingFriction.free,lossyGear.ideal,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,45), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004932/0.046, allocations: 236.4 kB / 308.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.04619, allocations: 151.3 kB / 308.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.04633, allocations: 141.7 kB / 308.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.04634, allocations: 19.94 kB / 308.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.04634, allocations: 4 kB / 308.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.04635, allocations: 7.969 kB / 308.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.049, allocations: 2.167 MB / 310.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.049, allocations: 0 / 310.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.04954, allocations: 227.7 kB / 310.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.05036, allocations: 0.5961 MB / 311.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.05044, allocations: 51.88 kB / 311.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.05163, allocations: 2.064 MB / 313.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.05164, allocations: 3.938 kB / 313.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.05347, allocations: 1.528 MB / 315.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.05405, allocations: 227.8 kB / 315.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.05418, allocations: 47.98 kB / 315.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.05461, allocations: 107.9 kB / 315.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.05493, allocations: 228.8 kB / 315.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.05502, allocations: 47.94 kB / 315.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.05525, allocations: 346.7 kB / 316.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05525, allocations: 0 / 316.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.05583, allocations: 335.9 kB / 316.4 MB, free: 9.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia4.w,lossyGear.phi_a,clutch.phi_rel,clutch.w_rel,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 23 (bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 12 (clutch.mode,clutch.startForward,brake.mode,brake.startForward,brake.startBackward,oneWayClutch.stuck,oneWayClutch.startForward,clutch.startBackward,lossyGear.mode,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (4,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008199/0.05665, allocations: 416 kB / 316.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.05783, allocations: 0.8667 MB / 317.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.05783, allocations: 0 / 317.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.0585, allocations: 0.559 MB / 318.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.05919, allocations: 297.5 kB / 318.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.06342, allocations: 2.631 MB / 321.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.06355, allocations: 206.7 kB / 321.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.0639, allocations: 147.5 kB / 321.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.06433, allocations: 286 kB / 321.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.06433, allocations: 0 / 321.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of Templates: time 0.1255/0.1899, allocations: 22.1 MB / 343.9 MB, free: 70.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.6034474880434573]