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.001052/0.001052, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002616, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002645/0.1064, allocations: 2.047 MB / 362 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1081, allocations: 0.7518 MB / 362.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.1084, allocations: 7.938 kB / 362.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1086, allocations: 19.78 kB / 362.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.109, allocations: 75.45 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1094, allocations: 107.8 kB / 362.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.1098, allocations: 286.7 kB / 363.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.11, allocations: 64.94 kB / 363.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1102, allocations: 95.59 kB / 363.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1104, allocations: 115.5 kB / 363.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.1104, allocations: 16 kB / 363.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.1105, allocations: 12 kB / 363.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.1105, allocations: 55.69 kB / 363.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1107, allocations: 137.1 kB / 363.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1109, allocations: 195.7 kB / 363.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1109, allocations: 0 / 363.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1109, allocations: 0 / 363.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.111, allocations: 0 / 363.9 MB, free: 9.27 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.0009295/0.1119, allocations: 0.5146 MB / 364.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1119, allocations: 15.97 kB / 364.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.112, allocations: 24.66 kB / 364.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1123, allocations: 249.5 kB / 364.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1124, allocations: 20.81 kB / 364.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.1124, allocations: 28.22 kB / 364.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.1129, allocations: 243 kB / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.113, allocations: 0 / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.113, allocations: 12 kB / 365 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.113, allocations: 8 kB / 365 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.1134, allocations: 175.8 kB / 365.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1148, allocations: 1.02 MB / 366.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.1154, allocations: 294.3 kB / 366.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1156, allocations: 111.3 kB / 366.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1157, allocations: 4 kB / 366.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1157, allocations: 34.56 kB / 366.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1157, allocations: 0 / 366.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002045/0.1178, allocations: 1.344 MB / 367.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.1179, allocations: 132.5 kB / 368.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1181, allocations: 206.7 kB / 368.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1182, allocations: 33.7 kB / 368.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1183, allocations: 152.5 kB / 368.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1184, allocations: 126.2 kB / 368.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1185, allocations: 37.7 kB / 368.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1186, allocations: 342.8 kB / 369 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1188, allocations: 84.83 kB / 369 MB, free: 3.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1191, allocations: 198 kB / 369.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.1196, allocations: 309.6 kB / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1196, allocations: 0 / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006515/0.1203, allocations: 345.2 kB / 369.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1203, allocations: 8.031 kB / 369.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1203, allocations: 4 kB / 369.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1203, allocations: 15.92 kB / 369.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1207, allocations: 87.91 kB / 370 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.1207, allocations: 11.98 kB / 370 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1209, allocations: 19.94 kB / 370 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.121, allocations: 23.88 kB / 370 MB, free: 2.484 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.0001368/0.1211, allocations: 145.7 kB / 370.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1212, allocations: 23.72 kB / 370.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.973e-05/0.1213, allocations: 37.39 kB / 370.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1213, allocations: 4 kB / 370.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1213, allocations: 0 / 370.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1213, allocations: 7.922 kB / 370.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.1228, allocations: 0.9828 MB / 371.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1229, allocations: 4 kB / 371.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.1232, allocations: 79.91 kB / 371.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1232, allocations: 4 kB / 371.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1233, allocations: 11.98 kB / 371.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1233, allocations: 7.938 kB / 371.3 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1233, allocations: 4 kB / 371.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.1241, allocations: 0.7047 MB / 372 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1242, allocations: 96.83 kB / 372.1 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1243, allocations: 19.98 kB / 372.2 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1246, allocations: 16 kB / 372.2 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.1246, allocations: 31.84 kB / 372.2 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1247, allocations: 8 kB / 372.2 MB, free: 148 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1248, allocations: 144.6 kB / 372.4 MB, free: 4 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 372.4 MB, free: 4 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1955/0.3203, allocations: 60.77 kB / 372.4 MB, free: 18.73 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.0001878/0.3206, allocations: 108.2 kB / 372.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.3214, allocations: 243.5 kB / 372.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3214, allocations: 1.062 kB / 372.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.3217, allocations: 132.9 kB / 372.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.3227, allocations: 63.95 kB / 373 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3245, allocations: 1.197 MB / 374.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3248, allocations: 0.7597 MB / 374.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3249, allocations: 29.08 kB / 374.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.325, allocations: 5 kB / 374.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of Templates: time 0.007777/0.3327, allocations: 3.286 MB / 378.2 MB, free: 16.87 MB / 302.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)