Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002059/0.002059, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.518/1.518, allocations: 230.4 MB / 250 MB, free: 8.973 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.83 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.31 MB / 420.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003557/0.2521, allocations: 2.372 MB / 423 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2535, allocations: 0.7596 MB / 423.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2536, allocations: 4 kB / 423.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.2538, allocations: 43.58 kB / 423.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2541, allocations: 91.27 kB / 423.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2544, allocations: 115.7 kB / 424 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.2547, allocations: 310.6 kB / 424.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2549, allocations: 43.66 kB / 424.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.255, allocations: 119.5 kB / 424.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2552, allocations: 123.5 kB / 424.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2552, allocations: 20 kB / 424.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.2553, allocations: 24 kB / 424.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.2553, allocations: 55.7 kB / 424.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2555, allocations: 127.4 kB / 424.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.2558, allocations: 270.6 kB / 425.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2558, allocations: 4 kB / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2558, allocations: 0 / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2558, allocations: 0 / 425.1 MB, free: 3.875 MB / 334.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.0009825/0.2568, allocations: 0.5571 MB / 425.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2568, allocations: 15.97 kB / 425.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.2569, allocations: 32.75 kB / 425.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.2573, allocations: 257.6 kB / 426 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.2573, allocations: 20.81 kB / 426 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2574, allocations: 20.38 kB / 426 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.2578, allocations: 250.9 kB / 426.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.2579, allocations: 3.953 kB / 426.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2579, allocations: 8 kB / 426.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2579, allocations: 4 kB / 426.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.2583, allocations: 167.5 kB / 426.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2597, allocations: 1.013 MB / 427.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.2603, allocations: 278.3 kB / 427.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2604, allocations: 91.33 kB / 427.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2605, allocations: 4 kB / 427.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2605, allocations: 43.03 kB / 427.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.2605, allocations: 0 / 427.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002023/0.2625, allocations: 1.341 MB / 429.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.2626, allocations: 136.5 kB / 429.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.2628, allocations: 202.8 kB / 429.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2629, allocations: 33.7 kB / 429.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.263, allocations: 152.7 kB / 429.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2631, allocations: 130.9 kB / 429.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2632, allocations: 66.12 kB / 429.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2634, allocations: 346.8 kB / 430.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2636, allocations: 80.78 kB / 430.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.2638, allocations: 198 kB / 430.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.2643, allocations: 293.6 kB / 430.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2643, allocations: 4 kB / 430.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006087/0.2649, allocations: 349.2 kB / 431.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.265, allocations: 8 kB / 431.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.265, allocations: 4 kB / 431.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.265, allocations: 4 kB / 431.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.2654, allocations: 95.83 kB / 431.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.2654, allocations: 8 kB / 431.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2655, allocations: 20.19 kB / 431.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.2656, allocations: 16 kB / 431.3 MB, free: 13.09 MB / 350.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.0001414/0.2657, allocations: 153.6 kB / 431.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.2658, allocations: 23.86 kB / 431.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.2659, allocations: 37.33 kB / 431.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2659, allocations: 4 kB / 431.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2659, allocations: 4 kB / 431.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2659, allocations: 3.938 kB / 431.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2673, allocations: 0.9716 MB / 432.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2673, allocations: 4 kB / 432.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.2677, allocations: 79.89 kB / 432.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.2677, allocations: 4 kB / 432.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2677, allocations: 8 kB / 432.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.2677, allocations: 7.938 kB / 432.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2677, allocations: 4 kB / 432.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/0.2686, allocations: 0.7048 MB / 433.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.2687, allocations: 104.9 kB / 433.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.2687, allocations: 12 kB / 433.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.269, allocations: 8 kB / 433.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.269, allocations: 31.84 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.2691, allocations: 23.98 kB / 433.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.2692, allocations: 144.6 kB / 433.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 433.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000461/0.2697, allocations: 63.94 kB / 433.7 MB, free: 10.54 MB / 350.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.0001313/0.2698, allocations: 111.1 kB / 433.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.2703, allocations: 232 kB / 434 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2703, allocations: 0 / 434 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2705, allocations: 119.8 kB / 434.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.2713, allocations: 68.81 kB / 434.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2729, allocations: 0.954 MB / 435.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2733, allocations: 0.7682 MB / 435.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.2734, allocations: 34.95 kB / 435.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.2735, allocations: 31.44 kB / 436 MB, free: 8.133 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2735, allocations: 0 / 436 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Templates: time 0.007155/0.2806, allocations: 3.024 MB / 439 MB, free: 5.129 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)