Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.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.001295/0.001295, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001442/0.001442, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.434/1.434, 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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.221, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.004609/0.2256, allocations: 2.966 MB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2275, allocations: 1.079 MB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2277, allocations: 11.94 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.228, allocations: 87.22 kB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.2284, allocations: 186.6 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2288, allocations: 207.6 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000686/0.2295, allocations: 0.6706 MB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.2297, allocations: 100.2 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.2301, allocations: 307.1 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.2305, allocations: 326.8 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.908e-05/0.2306, allocations: 52 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2308, allocations: 108 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.231, allocations: 143.5 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.2312, allocations: 227 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.232, allocations: 0.6497 MB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.232, allocations: 0 / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.232, allocations: 0 / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.232, allocations: 0 / 439.4 MB, free: 15.63 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001561/0.2335, allocations: 0.7776 MB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2336, allocations: 8.031 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.2338, allocations: 68.55 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.2343, allocations: 282.2 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.2344, allocations: 33.38 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/0.2345, allocations: 48.33 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.2355, allocations: 474.6 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2355, allocations: 11.88 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.2355, allocations: 19.94 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2355, allocations: 12 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2366, allocations: 467.7 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.2388, allocations: 0.9159 MB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.2397, allocations: 404.5 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.2403, allocations: 250.2 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.2403, allocations: 12.5 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2404, allocations: 39.05 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.104e-06/0.2404, allocations: 0 / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.005298/0.2457, allocations: 2.01 MB / 445.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2457, allocations: 59.91 kB / 445.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.246, allocations: 284.2 kB / 445.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.2461, allocations: 45.69 kB / 445.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2462, allocations: 181.6 kB / 445.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.2464, allocations: 230.1 kB / 446 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.2466, allocations: 106.3 kB / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2468, allocations: 346.8 kB / 446.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.2473, allocations: 233.2 kB / 446.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.2479, allocations: 280.8 kB / 446.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008271/0.2487, allocations: 390.1 kB / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2487, allocations: 4 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001711/0.2504, allocations: 0.7445 MB / 448.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2504, allocations: 4 kB / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2504, allocations: 0 / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.2514, allocations: 385.4 kB / 448.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.2517, allocations: 83.89 kB / 448.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.2532, allocations: 1.394 MB / 449.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2537, allocations: 75.94 kB / 450 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.2537, allocations: 24.11 kB / 450 MB, free: 4.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.254, allocations: 166.4 kB / 450.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2541, allocations: 51.64 kB / 450.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2542, allocations: 59.7 kB / 450.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.2542, allocations: 3.984 kB / 450.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2542, allocations: 7.875 kB / 450.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.2545, allocations: 87.62 kB / 450.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.2546, allocations: 20 kB / 450.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.2551, allocations: 71.91 kB / 450.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.2553, allocations: 96.3 kB / 450.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002252/0.2575, allocations: 0.7837 MB / 451.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001754/0.2593, allocations: 0.9467 MB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004947/0.2598, allocations: 219.9 kB / 452.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.26, allocations: 207.1 kB / 452.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.26, allocations: 0 / 452.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003328/0.2633, allocations: 0.8915 MB / 453.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of SimCode: time 0.002134/0.2655, allocations: 1.649 MB / 455.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01707/0.2825, allocations: 10.23 MB / 465.5 MB, free: 5.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.5679744809967815] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'inertia3.phi', 'inertia3.w', 'spring.phi_rel', 'spring.w_rel', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward'] 0.29041126399533823 0.305008905 0.069986452 Calling exit ...