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.001586/0.001586, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.86 kB / 306.9 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00392/0.1202, allocations: 2.358 MB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1219, allocations: 0.7673 MB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.1222, allocations: 7.938 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1224, allocations: 39.58 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.1228, allocations: 79.33 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.1233, allocations: 115.7 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.1237, allocations: 306.6 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1239, allocations: 68.7 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1241, allocations: 115.6 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1243, allocations: 123.4 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1244, allocations: 20 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.1245, allocations: 20 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.1245, allocations: 59.75 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1247, allocations: 123.4 kB / 361.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.125, allocations: 279.1 kB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.125, allocations: 0 / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.125, allocations: 0 / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.125, allocations: 0 / 361.9 MB, free: 9.641 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.001073/0.1261, allocations: 0.5458 MB / 362.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1262, allocations: 8.031 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.1263, allocations: 32.56 kB / 362.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1266, allocations: 253.5 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1267, allocations: 20.75 kB / 362.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.1267, allocations: 28.28 kB / 362.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1272, allocations: 239 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1273, allocations: 4 kB / 363 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1273, allocations: 4 kB / 363 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1273, allocations: 8 kB / 363 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.1277, allocations: 163.8 kB / 363.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1291, allocations: 1.024 MB / 364.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.1297, allocations: 294.5 kB / 364.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.1298, allocations: 91.41 kB / 364.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1299, allocations: 8 kB / 364.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1299, allocations: 34.56 kB / 364.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.1299, allocations: 4 kB / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00199/0.1319, allocations: 1.332 MB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.132, allocations: 132.5 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1322, allocations: 202.8 kB / 366.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.1322, allocations: 37.7 kB / 366.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1324, allocations: 156.4 kB / 366.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/0.1325, allocations: 118.3 kB / 366.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.1326, allocations: 66.14 kB / 366.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1327, allocations: 338.8 kB / 367 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1329, allocations: 80.83 kB / 367.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.1333, allocations: 201.9 kB / 367.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1338, allocations: 301.5 kB / 367.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1338, allocations: 0 / 367.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007191/0.1345, allocations: 345 kB / 367.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1346, allocations: 4 kB / 367.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1346, allocations: 4.25 kB / 367.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.1346, allocations: 12 kB / 367.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.135, allocations: 91.89 kB / 368 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.135, allocations: 11.92 kB / 368 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1352, allocations: 19.94 kB / 368.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1352, allocations: 12 kB / 368.1 MB, free: 2.863 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.0001531/0.1354, allocations: 145.7 kB / 368.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1355, allocations: 27.72 kB / 368.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.1356, allocations: 33.39 kB / 368.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1356, allocations: 8 kB / 368.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1356, allocations: 0 / 368.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.1356, allocations: 16.05 kB / 368.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.1371, allocations: 0.975 MB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1372, allocations: 0 / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.1375, allocations: 79.91 kB / 369.4 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.1375, allocations: 4 kB / 369.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.1376, allocations: 12.23 kB / 369.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1376, allocations: 8 kB / 369.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1376, allocations: 4 kB / 369.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.1385, allocations: 0.7038 MB / 370.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1386, allocations: 96.83 kB / 370.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.1386, allocations: 15.98 kB / 370.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1389, allocations: 12 kB / 370.2 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.139, allocations: 31.84 kB / 370.2 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.139, allocations: 12 kB / 370.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1391, allocations: 144.6 kB / 370.4 MB, free: 396 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1392, allocations: 0 / 370.4 MB, free: 396 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1397, allocations: 64 kB / 370.5 MB, free: 332 kB / 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.0001285/0.1398, allocations: 119.1 kB / 370.6 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1599/0.2997, allocations: 240.8 kB / 370.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.2997, allocations: 0.5312 kB / 370.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.3001, allocations: 125.2 kB / 370.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3011, allocations: 75.03 kB / 371 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3026, allocations: 0.9547 MB / 372 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3028, allocations: 0.755 MB / 372.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.303, allocations: 34.69 kB / 372.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.3031, allocations: 30.52 kB / 372.8 MB, free: 18.92 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3031, allocations: 1.25 kB / 372.8 MB, free: 18.92 MB / 302.1 MB Notification: Performance of Templates: time 0.006545/0.3096, allocations: 2.917 MB / 375.7 MB, free: 18.75 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)