Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1957, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.004018/0.1997, allocations: 3.164 MB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2014, allocations: 1.126 MB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2015, allocations: 7.938 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2018, allocations: 83.23 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.2021, allocations: 178.7 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2025, allocations: 203.6 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.2031, allocations: 0.6668 MB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.2033, allocations: 132.2 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.2036, allocations: 307 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.204, allocations: 310.9 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.2041, allocations: 52 kB / 416.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2043, allocations: 111.9 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2045, allocations: 143.5 kB / 416.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2047, allocations: 266.7 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.2053, allocations: 0.6435 MB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2053, allocations: 0 / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2053, allocations: 0 / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2053, allocations: 0 / 417.3 MB, free: 10.18 MB / 334.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.001429/0.2068, allocations: 0.8341 MB / 418.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2068, allocations: 8.031 kB / 418.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.207, allocations: 60.36 kB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.2075, allocations: 347.1 kB / 418.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.2075, allocations: 37.38 kB / 418.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.2076, allocations: 44.38 kB / 418.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.2085, allocations: 470.6 kB / 419.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2085, allocations: 7.906 kB / 419.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.2086, allocations: 16 kB / 419.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2086, allocations: 8 kB / 419.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/0.2096, allocations: 463.7 kB / 419.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2116, allocations: 1.145 MB / 420.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.2125, allocations: 426 kB / 421.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.213, allocations: 270.4 kB / 421.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.213, allocations: 8.5 kB / 421.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2131, allocations: 43.11 kB / 421.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 3.035e-06/0.2131, allocations: 0 / 421.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.005058/0.2181, allocations: 2.316 MB / 423.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2182, allocations: 59.97 kB / 423.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2185, allocations: 316.5 kB / 424.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.2186, allocations: 41.64 kB / 424.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2187, allocations: 181.4 kB / 424.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.2188, allocations: 209.1 kB / 424.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.219, allocations: 110.2 kB / 424.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2192, allocations: 350.8 kB / 425 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2196, allocations: 225.2 kB / 425.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.2202, allocations: 284.8 kB / 425.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.2209, allocations: 390.3 kB / 425.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2209, allocations: 4 kB / 425.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001612/0.2226, allocations: 0.7521 MB / 426.6 MB, free: 488 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2226, allocations: 4 kB / 426.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2226, allocations: 0 / 426.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008374/0.2234, allocations: 381.5 kB / 427 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.2238, allocations: 87.83 kB / 427.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2251, allocations: 1.405 MB / 428.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.2256, allocations: 67.91 kB / 428.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.2257, allocations: 20 kB / 428.6 MB, free: 14.46 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.0002065/0.2259, allocations: 177.8 kB / 428.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.226, allocations: 43.47 kB / 428.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.2261, allocations: 64.52 kB / 428.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2262, allocations: 3.984 kB / 428.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2262, allocations: 0 / 428.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.2264, allocations: 164.5 kB / 429 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.2265, allocations: 20 kB / 429 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.227, allocations: 71.91 kB / 429.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.2272, allocations: 92.41 kB / 429.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0021/0.2293, allocations: 0.8084 MB / 430 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001577/0.2309, allocations: 0.9328 MB / 430.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004754/0.2314, allocations: 244.4 kB / 431.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2316, allocations: 219.1 kB / 431.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Backend: time 2.1e-07/0.2316, allocations: 0 / 431.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.2338, allocations: 0.8907 MB / 432.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.001814/0.2356, allocations: 1.64 MB / 433.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.2504, allocations: 9.896 MB / 443.8 MB, free: 15.34 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)