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.001477/0.001477, allocations: 103 kB / 17.32 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001904/0.001904, allocations: 209.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 57.88 kB / 306.4 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1001, allocations: 50.54 MB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003787/0.104, allocations: 2.419 MB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1056, allocations: 0.7518 MB / 360.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.1058, allocations: 7.938 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1061, allocations: 31.77 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.1065, allocations: 63.47 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1069, allocations: 107.8 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1073, allocations: 302.7 kB / 360.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1075, allocations: 76.67 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1077, allocations: 103.6 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1079, allocations: 131.4 kB / 360.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.1079, allocations: 20 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.108, allocations: 24 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.108, allocations: 55.77 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1082, allocations: 127.3 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1085, allocations: 275.2 kB / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1085, allocations: 0 / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1085, allocations: 0 / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1085, allocations: 0 / 361.4 MB, free: 9.832 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.0009879/0.1095, allocations: 0.5458 MB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1095, allocations: 8.031 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.1096, allocations: 28.56 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1099, allocations: 257.5 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1099, allocations: 12.81 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.11, allocations: 28.22 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.1105, allocations: 247 kB / 362.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.1105, allocations: 7.938 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1106, allocations: 8 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1106, allocations: 11.98 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.1109, allocations: 159.8 kB / 362.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1124, allocations: 1.016 MB / 363.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.113, allocations: 290.1 kB / 364 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1132, allocations: 99.39 kB / 364.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1132, allocations: 4.625 kB / 364.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1132, allocations: 42.48 kB / 364.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.1132, allocations: 0 / 364.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001919/0.1152, allocations: 1.324 MB / 365.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1152, allocations: 132.5 kB / 365.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1155, allocations: 206.8 kB / 365.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1155, allocations: 29.7 kB / 365.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.1156, allocations: 156.4 kB / 366 MB, free: 4.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.1157, allocations: 114.3 kB / 366.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.1158, allocations: 78.06 kB / 366.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1159, allocations: 334.8 kB / 366.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1161, allocations: 84.77 kB / 366.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.1164, allocations: 198.1 kB / 366.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.1168, allocations: 305.6 kB / 367.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1168, allocations: 0 / 367.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000614/0.1174, allocations: 345.1 kB / 367.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1175, allocations: 10.72 kB / 367.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1175, allocations: 4 kB / 367.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1175, allocations: 8 kB / 367.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.1179, allocations: 91.89 kB / 367.5 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1179, allocations: 7.938 kB / 367.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1181, allocations: 19.92 kB / 367.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1181, allocations: 20 kB / 367.6 MB, free: 3.051 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.000125/0.1182, allocations: 145.7 kB / 367.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.1183, allocations: 31.72 kB / 367.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.1184, allocations: 33.33 kB / 367.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1184, allocations: 4 kB / 367.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1184, allocations: 0 / 367.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1185, allocations: 7.938 kB / 367.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1198, allocations: 0.9633 MB / 368.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1198, allocations: 4 kB / 368.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.1202, allocations: 84.14 kB / 368.9 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.1202, allocations: 8 kB / 368.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1202, allocations: 8 kB / 368.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1203, allocations: 7.984 kB / 368.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.1203, allocations: 7.938 kB / 368.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.1211, allocations: 0.7008 MB / 369.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1212, allocations: 104.8 kB / 369.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.1212, allocations: 12 kB / 369.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1215, allocations: 15.98 kB / 369.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.1216, allocations: 27.91 kB / 369.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1216, allocations: 8 kB / 369.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1217, allocations: 148.5 kB / 369.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1217, allocations: 4 kB / 369.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1222, allocations: 68 kB / 370 MB, free: 0.5117 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.0001333/0.1223, allocations: 107.4 kB / 370.1 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.1229, allocations: 256.5 kB / 370.3 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1229, allocations: 4 kB / 370.3 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1231, allocations: 119.8 kB / 370.4 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1566/0.2797, allocations: 61.55 kB / 370.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.2821, allocations: 1.037 MB / 371.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.2824, allocations: 0.755 MB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.2826, allocations: 34.64 kB / 372.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2828, allocations: 36.98 kB / 372.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2828, allocations: 0 / 372.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of Templates: time 0.007266/0.2901, allocations: 2.875 MB / 375.2 MB, free: 18.67 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)