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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2611, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003476/0.2646, allocations: 2.361 MB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2662, allocations: 0.7596 MB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.2664, allocations: 4 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.2667, allocations: 47.58 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.267, allocations: 79.27 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2675, allocations: 115.7 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.2679, allocations: 306.6 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.2681, allocations: 68.7 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2683, allocations: 107.6 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2685, allocations: 131.4 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2686, allocations: 20 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.2686, allocations: 24 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.2687, allocations: 55.7 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.2688, allocations: 131.4 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.2691, allocations: 264.7 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2691, allocations: 0 / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2691, allocations: 0 / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2692, allocations: 0 / 413.2 MB, free: 13.06 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.0009612/0.2701, allocations: 0.5573 MB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2702, allocations: 8.031 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.2702, allocations: 58.72 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.2703, allocations: 24.66 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2707, allocations: 265.5 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2708, allocations: 16.81 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.2708, allocations: 28.28 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.2712, allocations: 246.7 kB / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2713, allocations: 0 / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2713, allocations: 12 kB / 414.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2713, allocations: 4 kB / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2717, allocations: 159.8 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.273, allocations: 1.016 MB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.2735, allocations: 290.1 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2737, allocations: 95.97 kB / 415.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2737, allocations: 7.984 kB / 416 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2738, allocations: 38.55 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.2738, allocations: 0 / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001902/0.2757, allocations: 1.327 MB / 417.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.2758, allocations: 140.5 kB / 417.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.276, allocations: 210.7 kB / 417.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.276, allocations: 29.7 kB / 417.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.2761, allocations: 152.5 kB / 417.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.2762, allocations: 122.2 kB / 418 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.2763, allocations: 66.14 kB / 418 MB, free: 7.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2764, allocations: 334.8 kB / 418.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2766, allocations: 88.77 kB / 418.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.2769, allocations: 201.9 kB / 418.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.2773, allocations: 302.6 kB / 418.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2773, allocations: 0 / 418.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000603/0.2779, allocations: 337 kB / 419.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.278, allocations: 4 kB / 419.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.278, allocations: 7.984 kB / 419.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.278, allocations: 8 kB / 419.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.2784, allocations: 91.84 kB / 419.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2784, allocations: 7.984 kB / 419.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.2786, allocations: 19.94 kB / 419.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2786, allocations: 12 kB / 419.4 MB, free: 6.223 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.0001428/0.2788, allocations: 153.9 kB / 419.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2789, allocations: 31.7 kB / 419.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.2789, allocations: 29.41 kB / 419.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.279, allocations: 4 kB / 419.6 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.279, allocations: 0 / 419.6 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.279, allocations: 11.92 kB / 419.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2804, allocations: 0.9671 MB / 420.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.2804, allocations: 4.25 kB / 420.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.2808, allocations: 79.91 kB / 420.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.2808, allocations: 8.188 kB / 420.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2809, allocations: 11.98 kB / 420.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.2809, allocations: 7.938 kB / 420.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2809, allocations: 4 kB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.2817, allocations: 0.7077 MB / 421.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.2818, allocations: 96.83 kB / 421.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.2818, allocations: 11.98 kB / 421.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2821, allocations: 12 kB / 421.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.2822, allocations: 31.84 kB / 421.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2822, allocations: 12 kB / 421.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2823, allocations: 148.6 kB / 421.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2823, allocations: 0 / 421.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005141/0.2828, allocations: 64 kB / 421.8 MB, free: 3.68 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.001059/0.2839, allocations: 1.25 MB / 423 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.2844, allocations: 244.5 kB / 423.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.2845, allocations: 4 kB / 423.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2847, allocations: 128.7 kB / 423.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.2855, allocations: 73.58 kB / 423.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.2898, allocations: 3.469 MB / 426.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2901, allocations: 0.7606 MB / 427.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.2903, allocations: 34.95 kB / 427.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2904, allocations: 83.41 kB / 427.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2904, allocations: 0 / 427.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6271/0.9175, allocations: 5.86 MB / 433.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.515, allocations: 8.047 kB / 433.7 MB, free: 7.598 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)