Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001773/0.001773, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002159/0.002159, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.88 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2212, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006926/0.2282, allocations: 5.21 MB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.2317, allocations: 2.051 MB / 439.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.2319, allocations: 19.88 kB / 439.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.2324, allocations: 190.3 kB / 439.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009325/0.2333, allocations: 469.7 kB / 440 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2343, allocations: 0.5224 MB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.2361, allocations: 1.737 MB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.2365, allocations: 227.6 kB / 442.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009742/0.2375, allocations: 0.7478 MB / 443.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.2386, allocations: 0.8565 MB / 444.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.2388, allocations: 136 kB / 444.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.2393, allocations: 243.9 kB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.2397, allocations: 370.9 kB / 444.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.2403, allocations: 0.6571 MB / 445.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.2421, allocations: 1.629 MB / 447.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2421, allocations: 4 kB / 447.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2421, allocations: 0 / 447.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2421, allocations: 0 / 447.1 MB, free: 8.297 MB / 350.1 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.003857/0.2459, allocations: 1.643 MB / 448.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.246, allocations: 8.031 kB / 448.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.2467, allocations: 168.1 kB / 448.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2478, allocations: 0.6361 MB / 449.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.248, allocations: 175.4 kB / 449.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.2482, allocations: 111.9 kB / 449.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.2508, allocations: 1.239 MB / 451.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.2508, allocations: 15.94 kB / 451.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.251, allocations: 44 kB / 451.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.251, allocations: 24 kB / 451.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.2541, allocations: 1.284 MB / 452.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/0.2609, allocations: 3.691 MB / 456.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.2633, allocations: 0.9953 MB / 457.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.2647, allocations: 0.5864 MB / 457.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-05/0.2648, allocations: 25.28 kB / 457.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2648, allocations: 52.44 kB / 457.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=136): time 3.005e-06/0.2648, allocations: 0 / 457.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01487/0.2797, allocations: 5.478 MB / 463.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.2798, allocations: 94.42 kB / 463.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008802/0.2807, allocations: 0.6279 MB / 464 MB, free: 6.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.2808, allocations: 69.69 kB / 464 MB, free: 6.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.2811, allocations: 350.1 kB / 464.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/0.2816, allocations: 0.5114 MB / 464.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.282, allocations: 267.5 kB / 465.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2822, allocations: 345.9 kB / 465.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.2835, allocations: 0.5388 MB / 466 MB, free: 4.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.2849, allocations: 0.6802 MB / 466.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.2872, allocations: 0.9951 MB / 467.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2872, allocations: 0 / 467.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003916/0.2911, allocations: 1.698 MB / 469.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2911, allocations: 4.188 kB / 469.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.2911, allocations: 8 kB / 469.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.2931, allocations: 0.8473 MB / 470.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.2942, allocations: 243.6 kB / 470.5 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.2969, allocations: 1.959 MB / 472.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.2981, allocations: 163.7 kB / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.2983, allocations: 47.98 kB / 472.7 MB, free: 14.07 MB / 382.1 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.0005197/0.2988, allocations: 277.6 kB / 472.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.2991, allocations: 103.3 kB / 473 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.2994, allocations: 141.8 kB / 473.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.2994, allocations: 7.969 kB / 473.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2994, allocations: 0 / 473.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.2999, allocations: 312.2 kB / 473.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.3002, allocations: 43.94 kB / 473.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.3015, allocations: 175.8 kB / 473.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004546/0.302, allocations: 205 kB / 473.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005879/0.3078, allocations: 1.893 MB / 475.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00471/0.3125, allocations: 2.178 MB / 478 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001346/0.3139, allocations: 0.5685 MB / 478.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.3145, allocations: 454.8 kB / 479 MB, free: 7.688 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.3145, allocations: 0 / 479 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.319, allocations: 1.414 MB / 480.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of SimCode: time 0.004115/0.3231, allocations: 3.088 MB / 483.5 MB, free: 3.352 MB / 382.1 MB Notification: Performance of Templates: time 0.03621/0.3593, allocations: 23.86 MB / 0.4955 GB, free: 11.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.029067749157548] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.36720187310129404 0.381338104 0.13623212 Calling exit ...