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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 196 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009999/0.0009999, allocations: 91.5 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.237e-06, allocations: 4 kB / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2572/0.395, allocations: 79.17 MB / 473.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.3952, allocations: 65.17 kB / 473.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01395/0.4092, allocations: 5.476 MB / 479.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.4093, allocations: 8 kB / 479.3 MB, free: 9.516 MB / 346.7 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.0005532/0.4098, allocations: 493.9 kB / 479.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4099, allocations: 16.03 kB / 479.8 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.4099, allocations: 23.72 kB / 479.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4102, allocations: 253 kB / 480.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4102, allocations: 4 kB / 480.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.4102, allocations: 19.91 kB / 480.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002172/0.4105, allocations: 129.4 kB / 480.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.4107, allocations: 194.8 kB / 480.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4107, allocations: 7.906 kB / 480.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.4108, allocations: 0 / 480.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.4108, allocations: 8 kB / 480.5 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.4118, allocations: 0.9704 MB / 481.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.412, allocations: 217.5 kB / 481.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4122, allocations: 80.02 kB / 481.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4122, allocations: 4 kB / 481.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4122, allocations: 37.88 kB / 481.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.4122, allocations: 0 / 481.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001129/0.4134, allocations: 1.179 MB / 482.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4134, allocations: 132.5 kB / 483.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4135, allocations: 169 kB / 483.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4136, allocations: 25.7 kB / 483.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.4136, allocations: 138.9 kB / 483.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.4137, allocations: 120 kB / 483.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.4137, allocations: 0 / 483.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.4138, allocations: 332.6 kB / 483.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4139, allocations: 64.75 kB / 483.9 MB, free: 4.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.4141, allocations: 176.6 kB / 484.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4142, allocations: 100.8 kB / 484.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4142, allocations: 0 / 484.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003672/0.4146, allocations: 280 kB / 484.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4146, allocations: 8.031 kB / 484.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4146, allocations: 6.344 kB / 484.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.4147, allocations: 4 kB / 484.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.415, allocations: 99.39 kB / 484.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4151, allocations: 7.984 kB / 484.6 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.4152, allocations: 9.438 kB / 484.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.4153, allocations: 15.31 kB / 484.6 MB, free: 4.348 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.4153, allocations: 122.1 kB / 484.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4154, allocations: 27.66 kB / 484.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.4155, allocations: 34.02 kB / 484.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4155, allocations: 4 kB / 484.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4155, allocations: 0 / 484.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4156, allocations: 3.984 kB / 484.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.4165, allocations: 0.8883 MB / 485.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4165, allocations: 4 kB / 485.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.4169, allocations: 79.27 kB / 485.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.417, allocations: 8 kB / 485.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.417, allocations: 4 kB / 485.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.417, allocations: 7.938 kB / 485.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.417, allocations: 5.688 kB / 485.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000447/0.4174, allocations: 0.7797 MB / 486.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.4175, allocations: 100.8 kB / 486.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.4175, allocations: 4 kB / 486.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.4178, allocations: 8 kB / 486.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4179, allocations: 34.62 kB / 486.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.4179, allocations: 8 kB / 486.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.446e-05/0.418, allocations: 141.6 kB / 486.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.4184, allocations: 52 kB / 486.9 MB, free: 2.074 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.4186, allocations: 115.6 kB / 487 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4189, allocations: 198.7 kB / 487.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4189, allocations: 0 / 487.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.4191, allocations: 113.4 kB / 487.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.4196, allocations: 38.16 kB / 487.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4208, allocations: 0.8403 MB / 488.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.421, allocations: 0.802 MB / 489 MB, free: 36 kB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.421, allocations: 0 / 489 MB, free: 36 kB / 346.7 MB Notification: Performance of Templates: time 0.005977/0.427, allocations: 2.747 MB / 491.7 MB, free: 13.37 MB / 362.7 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)