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.001246/0.001247, allocations: 111.1 kB / 18.45 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.001306/0.001306, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2012, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.00406/0.2053, allocations: 3.171 MB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2069, allocations: 1.114 MB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.2071, allocations: 11.94 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.2073, allocations: 87.22 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.2077, allocations: 182.7 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.208, allocations: 203.6 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.2086, allocations: 0.6668 MB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.2088, allocations: 132.3 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.2092, allocations: 307 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.2096, allocations: 314.9 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.2097, allocations: 52 kB / 416.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.2099, allocations: 111.9 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.21, allocations: 139.5 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.2103, allocations: 270.6 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.2109, allocations: 0.6457 MB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2109, allocations: 0 / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2109, allocations: 0 / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2109, allocations: 0 / 417.3 MB, free: 10.2 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.001368/0.2123, allocations: 0.8451 MB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2124, allocations: 8.031 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.2126, allocations: 76.53 kB / 418.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.213, allocations: 343.4 kB / 418.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.2131, allocations: 33.38 kB / 418.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.2131, allocations: 52.31 kB / 418.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.214, allocations: 470.6 kB / 419.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.214, allocations: 3.953 kB / 419.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.2141, allocations: 16 kB / 419.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2141, allocations: 15.98 kB / 419.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009643/0.2151, allocations: 463.7 kB / 419.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.217, allocations: 1.145 MB / 420.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.2178, allocations: 424.9 kB / 421.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.2184, allocations: 262.4 kB / 421.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.2184, allocations: 16.55 kB / 421.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2185, allocations: 35.12 kB / 421.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 1.964e-06/0.2185, allocations: 0 / 421.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004963/0.2234, allocations: 2.337 MB / 423.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2235, allocations: 55.97 kB / 423.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2238, allocations: 304.6 kB / 424.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.2239, allocations: 49.64 kB / 424.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.224, allocations: 189.6 kB / 424.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.2241, allocations: 214.2 kB / 424.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.2243, allocations: 114.3 kB / 424.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2244, allocations: 350.8 kB / 425.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.2249, allocations: 225.2 kB / 425.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.2254, allocations: 280.8 kB / 425.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.2262, allocations: 394.3 kB / 425.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2262, allocations: 0 / 425.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00156/0.2278, allocations: 0.7484 MB / 426.7 MB, free: 460 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2278, allocations: 8 kB / 426.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2278, allocations: 0 / 426.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008954/0.2287, allocations: 377.4 kB / 427.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.2291, allocations: 91.83 kB / 427.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.2304, allocations: 1.405 MB / 428.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.2309, allocations: 71.94 kB / 428.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.2309, allocations: 23.92 kB / 428.6 MB, free: 14.43 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.000204/0.2311, allocations: 172.8 kB / 428.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.2312, allocations: 51.66 kB / 428.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.2314, allocations: 68.5 kB / 428.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2314, allocations: 3.984 kB / 428.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2314, allocations: 0 / 428.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.2316, allocations: 168.8 kB / 429.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.2317, allocations: 20 kB / 429.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.2322, allocations: 75.91 kB / 429.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.2324, allocations: 92.41 kB / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002111/0.2345, allocations: 0.7968 MB / 430.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001577/0.2361, allocations: 0.9409 MB / 431 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004848/0.2366, allocations: 244.4 kB / 431.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.2368, allocations: 223.1 kB / 431.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Backend: time 7.91e-07/0.2369, allocations: 0 / 431.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.2391, allocations: 0.8781 MB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of SimCode: time 0.001827/0.241, allocations: 1.674 MB / 434 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Templates: time 0.01445/0.2554, allocations: 9.886 MB / 443.9 MB, free: 15.27 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)