Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Rotational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2125, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006672/0.2192, allocations: 4.659 MB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.223, allocations: 1.973 MB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.2233, allocations: 23.81 kB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.2238, allocations: 202.3 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009566/0.2247, allocations: 468.3 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.2257, allocations: 0.5382 MB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2273, allocations: 1.729 MB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.2277, allocations: 235.7 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.2285, allocations: 0.7713 MB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009603/0.2295, allocations: 0.8566 MB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.2297, allocations: 140 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.2302, allocations: 235.8 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.2305, allocations: 378.9 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.2311, allocations: 0.5601 MB / 445.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.2327, allocations: 1.641 MB / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2327, allocations: 0 / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2327, allocations: 8 kB / 446.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2328, allocations: 0 / 446.7 MB, free: 8.289 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.003676/0.2364, allocations: 1.558 MB / 448.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2365, allocations: 8.031 kB / 448.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.2372, allocations: 176.1 kB / 448.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2383, allocations: 0.5678 MB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.2385, allocations: 260.5 kB / 449.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.2388, allocations: 108 kB / 449.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.2413, allocations: 1.268 MB / 450.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.2414, allocations: 11.95 kB / 450.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.2415, allocations: 40 kB / 450.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.2415, allocations: 24 kB / 450.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.2445, allocations: 1.273 MB / 452 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006415/0.2509, allocations: 2.973 MB / 455 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.2532, allocations: 0.9982 MB / 456 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.2546, allocations: 0.5864 MB / 456.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.2547, allocations: 17.31 kB / 456.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.2547, allocations: 51.81 kB / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=136): time 3.156e-06/0.2547, allocations: 0 / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01414/0.2689, allocations: 4.963 MB / 461.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2689, allocations: 94.42 kB / 461.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.2697, allocations: 0.6161 MB / 462.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.2699, allocations: 69.69 kB / 462.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.2702, allocations: 350.2 kB / 462.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/0.2706, allocations: 0.5152 MB / 463.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/0.2711, allocations: 267.5 kB / 463.5 MB, free: 7.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2713, allocations: 341.9 kB / 463.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.2726, allocations: 0.5388 MB / 464.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.274, allocations: 0.7131 MB / 465.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.2762, allocations: 0.9912 MB / 466.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2762, allocations: 0 / 466.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003878/0.2801, allocations: 1.699 MB / 467.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2801, allocations: 4 kB / 467.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2801, allocations: 4 kB / 467.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.2822, allocations: 0.8434 MB / 468.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.2833, allocations: 243.6 kB / 468.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.286, allocations: 1.959 MB / 470.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2871, allocations: 159.8 kB / 471 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.2872, allocations: 55.97 kB / 471 MB, free: 15.55 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.0004598/0.2877, allocations: 277.5 kB / 471.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.2879, allocations: 99.39 kB / 471.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.2882, allocations: 141.8 kB / 471.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.2882, allocations: 11.97 kB / 471.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2883, allocations: 4 kB / 471.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.2888, allocations: 231.7 kB / 471.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.289, allocations: 44 kB / 471.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.2903, allocations: 179.7 kB / 472 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/0.2908, allocations: 208.9 kB / 472.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005786/0.2966, allocations: 1.87 MB / 474.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004839/0.3014, allocations: 2.185 MB / 476.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001444/0.3029, allocations: 0.5686 MB / 476.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.3034, allocations: 442.8 kB / 477.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.3034, allocations: 0 / 477.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004737/0.3082, allocations: 1.443 MB / 478.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of SimCode: time 0.004239/0.3124, allocations: 3.079 MB / 481.8 MB, free: 4.957 MB / 382.1 MB Notification: Performance of Templates: time 0.03871/0.3511, allocations: 24.06 MB / 0.494 GB, free: 13.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1000720969968825] 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.3605296819951036 0.37372990300000003 0.137842608 Calling exit ...