Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.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.001899/0.001899, allocations: 114.3 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.002329/0.002329, allocations: 210.9 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.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.Friction") [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.001919/0.001919, allocations: 63.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2133, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.005063/0.2184, allocations: 3.21 MB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2205, allocations: 1.134 MB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.2207, allocations: 7.938 kB / 436.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.2211, allocations: 91.22 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.2216, allocations: 186.7 kB / 436.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.2222, allocations: 203.6 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.223, allocations: 0.6591 MB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.2232, allocations: 96.91 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.2237, allocations: 315 kB / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.2243, allocations: 314.8 kB / 438.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.2244, allocations: 52 kB / 438.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.2246, allocations: 115.9 kB / 438.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.2248, allocations: 135.6 kB / 438.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.2251, allocations: 266.7 kB / 438.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.2259, allocations: 0.6478 MB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2259, allocations: 0 / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2259, allocations: 0 / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2259, allocations: 0 / 439.4 MB, free: 15.94 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.001791/0.2277, allocations: 0.8452 MB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2277, allocations: 8.031 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.228, allocations: 72.55 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.2286, allocations: 347.4 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.2286, allocations: 33.38 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.2287, allocations: 44.33 kB / 440.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.2297, allocations: 474.6 kB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.2297, allocations: 3.938 kB / 441.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.2297, allocations: 16 kB / 441.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2298, allocations: 19.94 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2308, allocations: 471.6 kB / 441.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.2331, allocations: 1.137 MB / 442.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.234, allocations: 400.8 kB / 443.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.2346, allocations: 250.4 kB / 443.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.2346, allocations: 8.562 kB / 443.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2346, allocations: 47.06 kB / 443.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 1.893e-06/0.2346, allocations: 0 / 443.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.005568/0.2402, allocations: 2.321 MB / 445.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2402, allocations: 55.97 kB / 446 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.2406, allocations: 304.6 kB / 446.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/0.2407, allocations: 45.7 kB / 446.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2408, allocations: 189.6 kB / 446.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.241, allocations: 214.2 kB / 446.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2412, allocations: 110.3 kB / 446.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2414, allocations: 358.8 kB / 447.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.2419, allocations: 225.2 kB / 447.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.2424, allocations: 276.8 kB / 447.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.2433, allocations: 398.3 kB / 448 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2433, allocations: 0 / 448 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001725/0.245, allocations: 0.7406 MB / 448.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.245, allocations: 4 kB / 448.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.245, allocations: 4 kB / 448.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/0.2459, allocations: 373.4 kB / 449.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.2463, allocations: 91.83 kB / 449.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.2478, allocations: 1.397 MB / 450.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.2483, allocations: 76.06 kB / 450.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.2484, allocations: 19.98 kB / 450.7 MB, free: 4.238 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.0002445/0.2486, allocations: 170.4 kB / 450.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2487, allocations: 51.64 kB / 450.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.2489, allocations: 64.52 kB / 451 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2489, allocations: 7.984 kB / 451 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2489, allocations: 0 / 451 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.2491, allocations: 168.8 kB / 451.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.2492, allocations: 19.98 kB / 451.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.2498, allocations: 71.91 kB / 451.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.25, allocations: 96.34 kB / 451.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00231/0.2523, allocations: 0.7931 MB / 452.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001761/0.254, allocations: 0.9448 MB / 453.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004933/0.2545, allocations: 220.4 kB / 453.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.2548, allocations: 223 kB / 453.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Backend: time 6.41e-07/0.2548, allocations: 3.938 kB / 453.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.2579, allocations: 0.854 MB / 454.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 0.002183/0.2601, allocations: 1.655 MB / 456 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Templates: time 0.01822/0.2783, allocations: 10.34 MB / 466.4 MB, free: 4.742 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.421486010309309] 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.28622826281934977 0.30082369600000003 0.07184421 Calling exit ...