Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2093, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003091/0.2125, allocations: 2.276 MB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2138, allocations: 0.7634 MB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2139, allocations: 7.938 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2141, allocations: 31.66 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.2143, allocations: 91.33 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.2147, allocations: 111.7 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.215, allocations: 298.7 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2151, allocations: 60.38 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2153, allocations: 119.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.2154, allocations: 115.5 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2155, allocations: 20 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.2155, allocations: 20 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.2156, allocations: 51.83 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2157, allocations: 119.3 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.216, allocations: 270.7 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.216, allocations: 4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.216, allocations: 4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.216, allocations: 0 / 414.3 MB, free: 13.21 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007186/0.2167, allocations: 0.5221 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2168, allocations: 8.031 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.2168, allocations: 28.75 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.2172, allocations: 264 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2172, allocations: 16.81 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.2173, allocations: 24.36 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.2177, allocations: 238.9 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2177, allocations: 7.953 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2177, allocations: 8 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2177, allocations: 8 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.2181, allocations: 143.8 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.2195, allocations: 1.049 MB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.2199, allocations: 214.3 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.22, allocations: 67.48 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.2201, allocations: 8 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2201, allocations: 30.56 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.307e-06/0.2201, allocations: 0 / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000555/0.2207, allocations: 205.3 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.2208, allocations: 132.5 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2209, allocations: 190.8 kB / 417.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.221, allocations: 33.64 kB / 417.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.2211, allocations: 164.1 kB / 417.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.2211, allocations: 71.42 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.2212, allocations: 53.66 kB / 417.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2213, allocations: 334.8 kB / 418 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2215, allocations: 51.97 kB / 418.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.2217, allocations: 172.9 kB / 418.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.2221, allocations: 233.5 kB / 418.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2221, allocations: 4 kB / 418.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004629/0.2225, allocations: 249.2 kB / 418.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2226, allocations: 10.97 kB / 418.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2226, allocations: 11.88 kB / 418.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2226, allocations: 4.375 kB / 418.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2229, allocations: 71.89 kB / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.2229, allocations: 11.94 kB / 418.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2231, allocations: 24.09 kB / 418.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.2231, allocations: 12 kB / 418.9 MB, free: 8.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.2232, allocations: 137.7 kB / 419 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.2233, allocations: 27.89 kB / 419 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.2234, allocations: 24.88 kB / 419.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2234, allocations: 0 / 419.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2234, allocations: 4 kB / 419.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.2235, allocations: 101.7 kB / 419.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2235, allocations: 4 kB / 419.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2238, allocations: 4 kB / 419.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2238, allocations: 19.97 kB / 419.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006894/0.2245, allocations: 0.5024 MB / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006332/0.2251, allocations: 0.6136 MB / 420.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001464/0.2253, allocations: 59.91 kB / 420.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.2254, allocations: 140.9 kB / 420.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2254, allocations: 4 kB / 420.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.2262, allocations: 189.1 kB / 420.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of SimCode: time 0.001373/0.2276, allocations: 1.305 MB / 422 MB, free: 4.938 MB / 334.1 MB Notification: Performance of Templates: time 0.005861/0.2334, allocations: 2.791 MB / 424.8 MB, free: 2.16 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1)