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.00128/0.001281, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2034, allocations: 50.55 MB / 409.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003135/0.2066, allocations: 2.269 MB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2079, allocations: 0.7595 MB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2081, allocations: 4 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2082, allocations: 47.52 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.2085, allocations: 79.33 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.2088, allocations: 107.8 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2091, allocations: 298.7 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2093, allocations: 64.36 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2094, allocations: 111.6 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2096, allocations: 119.4 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2096, allocations: 20 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.2097, allocations: 20 kB / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.2097, allocations: 47.84 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2098, allocations: 131.3 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2101, allocations: 264.1 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2101, allocations: 4 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2101, allocations: 0 / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2101, allocations: 0 / 414.2 MB, free: 13.16 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.0007414/0.2109, allocations: 0.5262 MB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2109, allocations: 8.031 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.211, allocations: 28.66 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.2113, allocations: 255.8 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2114, allocations: 16.81 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.2114, allocations: 24.38 kB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.2118, allocations: 234.9 kB / 415.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2118, allocations: 7.906 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.2119, allocations: 4 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2119, allocations: 8 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.2122, allocations: 143.8 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2136, allocations: 1.064 MB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.214, allocations: 210.3 kB / 416.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2142, allocations: 75.48 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2142, allocations: 0 / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2142, allocations: 34.56 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.2142, allocations: 0 / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00055/0.2148, allocations: 197.9 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.2148, allocations: 136.5 kB / 417.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.215, allocations: 183.5 kB / 417.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.215, allocations: 33.7 kB / 417.4 MB, free: 9.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.2151, allocations: 163.8 kB / 417.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.2152, allocations: 63.11 kB / 417.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.2153, allocations: 49.61 kB / 417.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2154, allocations: 330.8 kB / 418 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2156, allocations: 63.91 kB / 418.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2158, allocations: 169.6 kB / 418.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.2161, allocations: 225.5 kB / 418.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2161, allocations: 0 / 418.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004596/0.2166, allocations: 261 kB / 418.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2166, allocations: 14.75 kB / 418.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2166, allocations: 7.938 kB / 418.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2167, allocations: 4.625 kB / 418.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.2169, allocations: 75.91 kB / 418.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2169, allocations: 8 kB / 418.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.2171, allocations: 35.61 kB / 418.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.2171, allocations: 12 kB / 418.9 MB, free: 8.125 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.0001135/0.2173, allocations: 141.7 kB / 419 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.2174, allocations: 19.84 kB / 419 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.2174, allocations: 24.86 kB / 419 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2174, allocations: 0 / 419 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2174, allocations: 8 kB / 419 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.2175, allocations: 92.86 kB / 419.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2175, allocations: 11.98 kB / 419.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2178, allocations: 4 kB / 419.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2178, allocations: 11.98 kB / 419.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000701/0.2185, allocations: 0.5023 MB / 419.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006137/0.2192, allocations: 0.6097 MB / 420.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001493/0.2193, allocations: 59.89 kB / 420.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.2194, allocations: 144.2 kB / 420.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.2195, allocations: 0 / 420.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.2202, allocations: 186.8 kB / 420.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of SimCode: time 0.001437/0.2217, allocations: 1.297 MB / 422 MB, free: 4.918 MB / 334.1 MB Notification: Performance of Templates: time 0.005978/0.2276, allocations: 2.795 MB / 424.8 MB, free: 2.141 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)