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.001266/0.001265, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.28 kB / 306.3 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08472, allocations: 50.53 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003312/0.08806, allocations: 2.416 MB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.08935, allocations: 0.7596 MB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.08954, allocations: 7.938 kB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.08972, allocations: 27.77 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.09, allocations: 63.47 kB / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.09032, allocations: 107.8 kB / 360.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.09062, allocations: 290.7 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.09077, allocations: 65.02 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.0909, allocations: 95.53 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.09106, allocations: 123.4 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.09109, allocations: 19.94 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.728e-05/0.09114, allocations: 12 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.09119, allocations: 51.77 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.0913, allocations: 119.3 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.09152, allocations: 267.3 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09154, allocations: 0 / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09154, allocations: 0 / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.09156, allocations: 0 / 361.3 MB, free: 10 MB / 302.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.0008652/0.09243, allocations: 0.5479 MB / 361.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.09247, allocations: 12.02 kB / 361.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.09253, allocations: 54.73 kB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.09259, allocations: 28.56 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.09286, allocations: 257.5 kB / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.09288, allocations: 20.75 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.09294, allocations: 24.38 kB / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.09335, allocations: 246.8 kB / 362.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.09338, allocations: 3.906 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.09341, allocations: 8 kB / 362.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.09343, allocations: 4 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.09382, allocations: 167.8 kB / 362.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.09512, allocations: 1.004 MB / 363.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.09565, allocations: 294.1 kB / 363.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.09583, allocations: 95.34 kB / 364 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.09586, allocations: 4.625 kB / 364 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.09589, allocations: 42.55 kB / 364.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.472e-06/0.0959, allocations: 0 / 364.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001764/0.09767, allocations: 1.332 MB / 365.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.09773, allocations: 132.5 kB / 365.5 MB, free: 5.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.09792, allocations: 210.7 kB / 365.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.09799, allocations: 37.7 kB / 365.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.09808, allocations: 152.4 kB / 365.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.09817, allocations: 126.2 kB / 366 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.09827, allocations: 62.14 kB / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.09839, allocations: 338.8 kB / 366.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.09857, allocations: 80.83 kB / 366.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.0988, allocations: 194 kB / 366.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.09921, allocations: 310 kB / 367 MB, free: 3.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.09922, allocations: 0 / 367 MB, free: 3.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005321/0.09976, allocations: 340.8 kB / 367.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.09978, allocations: 8 kB / 367.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.0998, allocations: 4.25 kB / 367.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.09982, allocations: 8 kB / 367.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.1002, allocations: 91.89 kB / 367.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1002, allocations: 15.92 kB / 367.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1004, allocations: 19.94 kB / 367.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1004, allocations: 12 kB / 367.5 MB, free: 3.16 MB / 302.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.0001166/0.1005, allocations: 145.7 kB / 367.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.1006, allocations: 23.72 kB / 367.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.1007, allocations: 41.39 kB / 367.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1007, allocations: 4 kB / 367.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1007, allocations: 0 / 367.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1007, allocations: 7.922 kB / 367.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.102, allocations: 0.9711 MB / 368.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.102, allocations: 4 kB / 368.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1024, allocations: 79.84 kB / 368.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1024, allocations: 4 kB / 368.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.1024, allocations: 20.48 kB / 368.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1024, allocations: 8 kB / 368.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1024, allocations: 4 kB / 368.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.1032, allocations: 0.6922 MB / 369.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1032, allocations: 96.83 kB / 369.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1033, allocations: 15.98 kB / 369.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1035, allocations: 12 kB / 369.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.1036, allocations: 31.84 kB / 369.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1036, allocations: 15.94 kB / 369.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1038, allocations: 144.5 kB / 369.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1038, allocations: 0 / 369.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.1042, allocations: 68 kB / 369.9 MB, free: 0.625 MB / 302.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.1545/0.2587, allocations: 1.236 MB / 371.1 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.2593, allocations: 234.8 kB / 371.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2593, allocations: 2.75 kB / 371.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.2595, allocations: 123.9 kB / 371.5 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.2604, allocations: 68.42 kB / 371.5 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.2639, allocations: 3.578 MB / 375.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2642, allocations: 0.761 MB / 375.9 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.2643, allocations: 39.17 kB / 375.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2644, allocations: 83.84 kB / 376 MB, free: 16.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2644, allocations: 0 / 376 MB, free: 16.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3734/0.6378, allocations: 5.336 MB / 381.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.638, allocations: 225.4 kB / 381.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.745, allocations: 0 / 381.5 MB, free: 15.42 MB / 302.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)