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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009625/0.0009627, allocations: 83.75 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.424e-05, allocations: 4 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 51.47 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5546, allocations: 79.25 MB / 474.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.555, allocations: 77.73 kB / 474.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.5705, allocations: 5.793 MB / 480.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5706, allocations: 0 / 480.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.5707, allocations: 4 kB / 480.4 MB, free: 8.871 MB / 346.7 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.0007389/0.5714, allocations: 0.4912 MB / 480.9 MB, free: 8.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5715, allocations: 8.031 kB / 480.9 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.5715, allocations: 27.72 kB / 480.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.5718, allocations: 241.4 kB / 481.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5719, allocations: 4.859 kB / 481.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.5719, allocations: 22.62 kB / 481.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002466/0.5722, allocations: 130.6 kB / 481.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.5725, allocations: 204.6 kB / 481.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5725, allocations: 7.094 kB / 481.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5726, allocations: 0 / 481.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5726, allocations: 8 kB / 481.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/0.5736, allocations: 0.9655 MB / 482.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.5739, allocations: 246.5 kB / 482.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.574, allocations: 79.27 kB / 482.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.574, allocations: 7.984 kB / 482.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.574, allocations: 45.88 kB / 482.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.574, allocations: 0 / 482.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001188/0.5752, allocations: 1.174 MB / 484 MB, free: 5.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5753, allocations: 136.5 kB / 484.2 MB, free: 5.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.5754, allocations: 159.8 kB / 484.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5755, allocations: 25.7 kB / 484.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.5755, allocations: 156.5 kB / 484.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.5756, allocations: 119.9 kB / 484.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.5756, allocations: 0 / 484.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.5757, allocations: 332.8 kB / 484.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.5758, allocations: 70.62 kB / 485 MB, free: 4.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.576, allocations: 172.8 kB / 485.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.5761, allocations: 87.72 kB / 485.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5761, allocations: 4 kB / 485.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003559/0.5765, allocations: 286.2 kB / 485.5 MB, free: 3.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5765, allocations: 8 kB / 485.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5765, allocations: 4 kB / 485.5 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5765, allocations: 8 kB / 485.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5769, allocations: 91.2 kB / 485.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5769, allocations: 11.92 kB / 485.7 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.5771, allocations: 8.25 kB / 485.7 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5771, allocations: 19.44 kB / 485.7 MB, free: 3.66 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/0.5772, allocations: 110.3 kB / 485.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003006/0.5775, allocations: 210.8 kB / 486 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.5776, allocations: 27.72 kB / 486 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.5777, allocations: 32.52 kB / 486.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5777, allocations: 4 kB / 486.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5777, allocations: 1.688 kB / 486.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5777, allocations: 4 kB / 486.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.5787, allocations: 0.8914 MB / 487 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5787, allocations: 4.172 kB / 487 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.579, allocations: 75.91 kB / 487 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.5791, allocations: 4 kB / 487 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.5791, allocations: 15.22 kB / 487.1 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5791, allocations: 11.94 kB / 487.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5791, allocations: 3.953 kB / 487.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.5796, allocations: 0.7856 MB / 487.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.5797, allocations: 100.4 kB / 488 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.5797, allocations: 7.125 kB / 488 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.58, allocations: 7.984 kB / 488 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.58, allocations: 34.92 kB / 488 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.5801, allocations: 15.19 kB / 488 MB, free: 1.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.5801, allocations: 137.9 kB / 488.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5801, allocations: 0 / 488.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.5806, allocations: 52 kB / 488.2 MB, free: 1.203 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.5816, allocations: 2.086 MB / 490.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.582, allocations: 186 kB / 490.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.582, allocations: 0 / 490.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.5821, allocations: 106.2 kB / 490.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.5827, allocations: 62.72 kB / 490.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.5846, allocations: 0.9148 MB / 491.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.585, allocations: 0.7645 MB / 492.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.5852, allocations: 35.27 kB / 492.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5853, allocations: 83.22 kB / 492.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5853, allocations: 0 / 492.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.6118, allocations: 4.676 MB / 497.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.6121, allocations: 156.1 kB / 497.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.554, allocations: 1.406 kB / 497.3 MB, free: 8.277 MB / 362.7 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/linux/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)