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.0008524/0.0008525, allocations: 91.17 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009672/0.0009672, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.7 MB / 246.8 MB, free: 9.707 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001965/0.0001966, allocations: 8 kB / 307.8 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.0806, allocations: 51.52 MB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00212/0.08276, allocations: 2.054 MB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.08401, allocations: 0.7441 MB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.08417, allocations: 4 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.08429, allocations: 31.78 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.08455, allocations: 71.45 kB / 362.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.08484, allocations: 99.78 kB / 362.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.08513, allocations: 294.6 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.08528, allocations: 57.03 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.08541, allocations: 107.5 kB / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.08557, allocations: 111.5 kB / 362.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.0856, allocations: 12 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.08564, allocations: 12 kB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.08569, allocations: 47.72 kB / 363 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.08581, allocations: 145.1 kB / 363.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.08602, allocations: 263.1 kB / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.08603, allocations: 0 / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08604, allocations: 0 / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.08605, allocations: 4 kB / 363.4 MB, free: 8.938 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.0007415/0.0868, allocations: 0.5146 MB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.08684, allocations: 8.031 kB / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.201e-05/0.08691, allocations: 62.72 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.08697, allocations: 24.66 kB / 364 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.08724, allocations: 253.5 kB / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.08727, allocations: 20.75 kB / 364.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.08731, allocations: 24.28 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.08772, allocations: 242.8 kB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.08774, allocations: 0 / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.08777, allocations: 12 kB / 364.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.08778, allocations: 4 kB / 364.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.08813, allocations: 175.8 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.08929, allocations: 1.02 MB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.08979, allocations: 298.4 kB / 366 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.08998, allocations: 99.34 kB / 366.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.09, allocations: 4 kB / 366.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.09003, allocations: 38.56 kB / 366.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.09004, allocations: 0 / 366.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001727/0.09177, allocations: 1.348 MB / 367.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.09184, allocations: 136.5 kB / 367.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.09202, allocations: 210.7 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.09205, allocations: 33.7 kB / 367.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.09215, allocations: 148.5 kB / 368 MB, free: 3.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.09223, allocations: 122.2 kB / 368.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.09229, allocations: 41.69 kB / 368.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.0924, allocations: 334.8 kB / 368.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.09259, allocations: 80.84 kB / 368.6 MB, free: 3.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.09284, allocations: 208.9 kB / 368.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.09327, allocations: 305.6 kB / 369.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09329, allocations: 0 / 369.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005514/0.09384, allocations: 348.9 kB / 369.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.09387, allocations: 4 kB / 369.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.09389, allocations: 4 kB / 369.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.09391, allocations: 8 kB / 369.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.09425, allocations: 95.83 kB / 369.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.09427, allocations: 12.25 kB / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.09443, allocations: 24.19 kB / 369.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.09447, allocations: 19.98 kB / 369.6 MB, free: 2.098 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.0001224/0.09459, allocations: 141.7 kB / 369.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.09469, allocations: 23.72 kB / 369.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.09476, allocations: 37.39 kB / 369.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.09477, allocations: 4 kB / 369.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.09478, allocations: 0 / 369.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.09479, allocations: 3.938 kB / 369.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.0961, allocations: 0.9867 MB / 370.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.09612, allocations: 4 kB / 370.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.09646, allocations: 87.83 kB / 370.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.09647, allocations: 4 kB / 370.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.0965, allocations: 8.25 kB / 370.9 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.09651, allocations: 8 kB / 370.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.09652, allocations: 4 kB / 370.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1324/0.2289, allocations: 0.7064 MB / 371.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.229, allocations: 102.3 kB / 371.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.2291, allocations: 9.469 kB / 371.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.2294, allocations: 12.34 kB / 371.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.2295, allocations: 31.89 kB / 371.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2295, allocations: 12.33 kB / 371.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.2296, allocations: 145.2 kB / 371.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2296, allocations: 0 / 371.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.2301, allocations: 65.94 kB / 372 MB, free: 18.31 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.0008947/0.2311, allocations: 1.254 MB / 373.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.2316, allocations: 249.7 kB / 373.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2316, allocations: 0 / 373.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.2318, allocations: 132.6 kB / 373.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.2326, allocations: 73.66 kB / 373.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.2365, allocations: 3.711 MB / 377.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2367, allocations: 0.7609 MB / 378.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.2369, allocations: 38.12 kB / 378.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.237, allocations: 85.59 kB / 378.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.237, allocations: 0 / 378.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5193/0.7563, allocations: 5.236 MB / 383.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.7565, allocations: 210.7 kB / 383.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.706, allocations: 3.938 kB / 383.7 MB, free: 13.57 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)