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.001625/0.001625, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.177/2.177, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3987, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.006248/0.405, allocations: 2.362 MB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4076, allocations: 0.7595 MB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.408, allocations: 8 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.4083, allocations: 35.59 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.4089, allocations: 91.25 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.4096, allocations: 111.7 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.4102, allocations: 302.6 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.4105, allocations: 72.69 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.4108, allocations: 111.6 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.4111, allocations: 123.5 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.4112, allocations: 20 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.4113, allocations: 20 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.4114, allocations: 63.69 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.4116, allocations: 123.4 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.4121, allocations: 276.1 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4121, allocations: 0 / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4121, allocations: 0 / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4122, allocations: 4 kB / 414.4 MB, free: 13.14 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.00156/0.4137, allocations: 0.5495 MB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4138, allocations: 8.031 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4139, allocations: 28.66 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.4145, allocations: 257.5 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.4146, allocations: 16.81 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.4147, allocations: 32.27 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.4154, allocations: 242.9 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4155, allocations: 0 / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.4155, allocations: 16 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4156, allocations: 4 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.4162, allocations: 163.8 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.4185, allocations: 1.02 MB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4196, allocations: 290.1 kB / 417 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.42, allocations: 99.89 kB / 417.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.42, allocations: 11.98 kB / 417.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.4201, allocations: 30.56 kB / 417.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.906e-06/0.4201, allocations: 0 / 417.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002934/0.4231, allocations: 1.324 MB / 418.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4232, allocations: 144.4 kB / 418.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4235, allocations: 206.6 kB / 418.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.4235, allocations: 29.7 kB / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4237, allocations: 156.5 kB / 419 MB, free: 8.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4239, allocations: 118.2 kB / 419.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.424, allocations: 70.12 kB / 419.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4242, allocations: 338.8 kB / 419.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.4245, allocations: 84.83 kB / 419.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.425, allocations: 198 kB / 419.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.4257, allocations: 301.4 kB / 420 MB, free: 6.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4257, allocations: 0 / 420 MB, free: 6.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009474/0.4266, allocations: 341.4 kB / 420.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.4267, allocations: 4 kB / 420.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4267, allocations: 4 kB / 420.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.4268, allocations: 8 kB / 420.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.4273, allocations: 95.83 kB / 420.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4273, allocations: 4 kB / 420.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.4276, allocations: 23.92 kB / 420.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.4277, allocations: 16.25 kB / 420.5 MB, free: 6.363 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.0001991/0.4279, allocations: 149.7 kB / 420.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.428, allocations: 27.72 kB / 420.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.4281, allocations: 33.39 kB / 420.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4282, allocations: 4 kB / 420.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4282, allocations: 0 / 420.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4282, allocations: 7.938 kB / 420.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.4304, allocations: 0.9671 MB / 421.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4304, allocations: 4.25 kB / 421.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.431, allocations: 83.89 kB / 421.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.431, allocations: 4 kB / 421.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.4311, allocations: 12 kB / 421.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.4311, allocations: 7.938 kB / 421.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4311, allocations: 4 kB / 421.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.4324, allocations: 0.7038 MB / 422.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4325, allocations: 104.8 kB / 422.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.4326, allocations: 8 kB / 422.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.4331, allocations: 12 kB / 422.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.4332, allocations: 35.84 kB / 422.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.4332, allocations: 11.98 kB / 422.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4334, allocations: 148.6 kB / 422.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4334, allocations: 0 / 422.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009/0.4343, allocations: 64 kB / 422.9 MB, free: 3.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001984/0.4346, allocations: 111.2 kB / 423 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008346/0.4354, allocations: 240.7 kB / 423.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4354, allocations: 4 kB / 423.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.4358, allocations: 128.4 kB / 423.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.4372, allocations: 71.3 kB / 423.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4396, allocations: 0.9687 MB / 424.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.4402, allocations: 0.7645 MB / 425.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4403, allocations: 27.44 kB / 425.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4403, allocations: 0 / 425.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Templates: time 0.008779/0.4491, allocations: 3.396 MB / 428.6 MB, free: 14.03 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)