Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,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.0.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,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.0.0_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 110.3 kB / 17.75 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 181.4 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009395, allocations: 43.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2177, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003845/0.2216, allocations: 3.03 MB / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.223, allocations: 0.9348 MB / 405.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.2232, allocations: 11.94 kB / 405.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.2234, allocations: 63.38 kB / 405.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.2236, allocations: 134.8 kB / 405.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.2241, allocations: 223.6 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2247, allocations: 0.6356 MB / 406.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.2249, allocations: 128.3 kB / 406.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.2252, allocations: 279.1 kB / 406.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2255, allocations: 298.9 kB / 407.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.2256, allocations: 48 kB / 407.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2258, allocations: 107.9 kB / 407.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2259, allocations: 119.6 kB / 407.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.2262, allocations: 250.8 kB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.2267, allocations: 0.5967 MB / 408.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2267, allocations: 8 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2267, allocations: 0 / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2267, allocations: 0 / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00137/0.2281, allocations: 0.7719 MB / 409 MB, free: 1.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2281, allocations: 8.031 kB / 409 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2283, allocations: 56.28 kB / 409.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.2287, allocations: 331.2 kB / 409.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.2287, allocations: 33.36 kB / 409.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.2288, allocations: 44.38 kB / 409.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.2296, allocations: 478.6 kB / 409.9 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2297, allocations: 7.906 kB / 409.9 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.2297, allocations: 12 kB / 410 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2297, allocations: 12 kB / 410 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.2307, allocations: 479.7 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2327, allocations: 1.117 MB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/0.2335, allocations: 390.2 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.234, allocations: 276.8 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.2341, allocations: 4.438 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2341, allocations: 35 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.903e-06/0.2341, allocations: 7.938 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005224/0.2393, allocations: 2.331 MB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2394, allocations: 63.91 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.2397, allocations: 283.3 kB / 414.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.2397, allocations: 37.7 kB / 415 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2399, allocations: 193.3 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.24, allocations: 193.3 kB / 415.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.2402, allocations: 110.2 kB / 415.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2403, allocations: 346.8 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.2408, allocations: 241.2 kB / 416 MB, free: 9.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.2413, allocations: 284.8 kB / 416.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.2421, allocations: 418.3 kB / 416.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2421, allocations: 4 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001643/0.2438, allocations: 0.7872 MB / 417.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2438, allocations: 8 kB / 417.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2438, allocations: 3.938 kB / 417.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/0.2447, allocations: 0.4973 MB / 418 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.2451, allocations: 87.89 kB / 418.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2463, allocations: 1.405 MB / 419.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.2468, allocations: 80.05 kB / 419.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.2469, allocations: 16 kB / 419.6 MB, free: 6.23 MB / 334.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 (57): * Single equations (assignments): 55 * 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,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.2471, allocations: 178.2 kB / 419.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.2472, allocations: 39.53 kB / 419.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.2473, allocations: 63.73 kB / 419.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2473, allocations: 0 / 419.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2473, allocations: 0 / 419.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2475, allocations: 164.5 kB / 420 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.2476, allocations: 16 kB / 420 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.2482, allocations: 67.91 kB / 420.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.2484, allocations: 96.34 kB / 420.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001936/0.2503, allocations: 0.7774 MB / 421 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001523/0.2518, allocations: 0.955 MB / 421.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000459/0.2523, allocations: 252.3 kB / 422.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.2525, allocations: 205.9 kB / 422.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2525, allocations: 0 / 422.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2537, allocations: 494.1 kB / 422.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of SimCode: time 0.001704/0.2554, allocations: 1.551 MB / 424.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Templates: time 0.01396/0.2694, allocations: 9.505 MB / 433.9 MB, free: 7.82 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)