Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 210.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.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 50.55 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003147/0.2134, allocations: 2.358 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2147, allocations: 0.7595 MB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2149, allocations: 4 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.215, allocations: 35.59 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2153, allocations: 95.25 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.2156, allocations: 115.7 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.216, allocations: 298.6 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2161, allocations: 72.69 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2163, allocations: 111.6 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2165, allocations: 127.5 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.2165, allocations: 20 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.2166, allocations: 20 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.2166, allocations: 59.7 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2167, allocations: 127.4 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.217, allocations: 276.1 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.217, allocations: 0 / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.217, allocations: 0 / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2171, allocations: 0 / 414.4 MB, free: 13.07 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.0008957/0.218, allocations: 0.5612 MB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.218, allocations: 8.031 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.2181, allocations: 24.66 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2184, allocations: 257.5 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2184, allocations: 20.81 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2185, allocations: 28.28 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2189, allocations: 234.9 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2189, allocations: 4 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.2189, allocations: 8 kB / 415.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.219, allocations: 8 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.2193, allocations: 171.4 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2206, allocations: 1.012 MB / 416.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.2211, allocations: 294.1 kB / 417 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2213, allocations: 95.41 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2213, allocations: 12.55 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2214, allocations: 30.56 kB / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.2214, allocations: 0 / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001831/0.2232, allocations: 1.328 MB / 418.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.2233, allocations: 136.4 kB / 418.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.2235, allocations: 218.6 kB / 418.8 MB, free: 8.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2235, allocations: 29.7 kB / 418.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.2236, allocations: 152.5 kB / 419 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.2237, allocations: 118.2 kB / 419.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.2238, allocations: 66.12 kB / 419.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2239, allocations: 346.7 kB / 419.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2241, allocations: 80.83 kB / 419.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2243, allocations: 190.1 kB / 419.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.2248, allocations: 305.5 kB / 420.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2248, allocations: 0 / 420.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005847/0.2254, allocations: 337.2 kB / 420.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2254, allocations: 12.25 kB / 420.4 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2255, allocations: 4 kB / 420.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2255, allocations: 4 kB / 420.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.2258, allocations: 99.83 kB / 420.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2259, allocations: 7.938 kB / 420.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.226, allocations: 19.98 kB / 420.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.2261, allocations: 19.94 kB / 420.5 MB, free: 6.289 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 (48): * Single equations (assignments): 48 * 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.0001264/0.2262, allocations: 145.7 kB / 420.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2263, allocations: 23.72 kB / 420.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.2264, allocations: 41.39 kB / 420.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2264, allocations: 192 / 420.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2264, allocations: 0 / 420.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.2265, allocations: 104.8 kB / 420.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2265, allocations: 11.94 kB / 420.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.2268, allocations: 8 kB / 420.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.2268, allocations: 19.97 kB / 420.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008403/0.2277, allocations: 0.5922 MB / 421.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007916/0.2285, allocations: 0.7432 MB / 422.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002115/0.2287, allocations: 104 kB / 422.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.2288, allocations: 140.6 kB / 422.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2288, allocations: 0 / 422.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.2297, allocations: 246.5 kB / 422.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of SimCode: time 0.001464/0.2311, allocations: 1.327 MB / 424 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Templates: time 0.006902/0.2381, allocations: 3.494 MB / 427.5 MB, free: 15.21 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)