Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2931, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002467/0.2956, allocations: 1.943 MB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2968, allocations: 0.6042 MB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.297, allocations: 8.812 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.297, allocations: 23.86 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.2972, allocations: 90.58 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2974, allocations: 43.25 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.2977, allocations: 199.9 kB / 329.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2979, allocations: 87.22 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.298, allocations: 89.16 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2982, allocations: 107.7 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2982, allocations: 13.41 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.2983, allocations: 12.56 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.2983, allocations: 39.47 kB / 329.7 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.2984, allocations: 78.73 kB / 329.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.2987, allocations: 209.5 kB / 330 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2987, allocations: 5.344 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2987, allocations: 0 / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2987, allocations: 0 / 330 MB, free: 14.75 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007858/0.2995, allocations: 0.5039 MB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2995, allocations: 13.05 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.2996, allocations: 29.84 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.2999, allocations: 231.2 kB / 330.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2999, allocations: 22.62 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.3, allocations: 29.86 kB / 330.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.3004, allocations: 219.9 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3005, allocations: 9.953 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3005, allocations: 10.28 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3005, allocations: 5.875 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.301, allocations: 181.7 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3022, allocations: 0.7773 MB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3027, allocations: 213.3 kB / 332.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3028, allocations: 10.95 kB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3028, allocations: 36.59 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.3028, allocations: 0 / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001809/0.3046, allocations: 0.9919 MB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3047, allocations: 57.88 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3048, allocations: 152.9 kB / 333.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.3049, allocations: 30.86 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.305, allocations: 143.8 kB / 333.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.3051, allocations: 105.5 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.3051, allocations: 5.25 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3052, allocations: 331.7 kB / 334 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3054, allocations: 79.77 kB / 334.1 MB, free: 11.4 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3057, allocations: 119.7 kB / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3059, allocations: 89.86 kB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3059, allocations: 0 / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004828/0.3064, allocations: 280.7 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3064, allocations: 7.938 kB / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3064, allocations: 3.938 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3064, allocations: 4 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.3067, allocations: 79.89 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3067, allocations: 4 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3069, allocations: 20.02 kB / 334.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3069, allocations: 11.94 kB / 334.7 MB, free: 10.91 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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 0.000128/0.307, allocations: 133.8 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3071, allocations: 19.77 kB / 334.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.3071, allocations: 34.48 kB / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3071, allocations: 4 kB / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3071, allocations: 0 / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3072, allocations: 0 / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.3081, allocations: 0.6638 MB / 335.6 MB, free: 9.984 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3081, allocations: 12.05 kB / 335.6 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.3084, allocations: 71.91 kB / 335.7 MB, free: 9.902 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3085, allocations: 4 kB / 335.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3085, allocations: 4 kB / 335.7 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3085, allocations: 4 kB / 335.7 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3085, allocations: 3.984 kB / 335.7 MB, free: 9.887 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.3092, allocations: 489 kB / 336.2 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3093, allocations: 88.92 kB / 336.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3093, allocations: 8.188 kB / 336.3 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3095, allocations: 19.98 kB / 336.3 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3095, allocations: 23.92 kB / 336.3 MB, free: 9.219 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3096, allocations: 4 kB / 336.3 MB, free: 9.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.3097, allocations: 119.2 kB / 336.4 MB, free: 9.098 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3097, allocations: 4 kB / 336.4 MB, free: 9.094 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.31, allocations: 56 kB / 336.5 MB, free: 9.039 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * 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 (28): * Single equations (assignments): 28 * 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.000128/0.3102, allocations: 103.2 kB / 336.6 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.3106, allocations: 211.8 kB / 336.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3106, allocations: 0 / 336.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.3108, allocations: 108.9 kB / 336.9 MB, free: 8.613 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3112, allocations: 35.86 kB / 336.9 MB, free: 8.578 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3125, allocations: 0.9965 MB / 337.9 MB, free: 7.555 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3128, allocations: 0.7602 MB / 338.7 MB, free: 6.766 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3129, allocations: 17.95 kB / 338.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.313, allocations: 19.44 kB / 338.7 MB, free: 6.727 MB / 270.1 MB Notification: Performance of SimCode: time 1.91e-07/0.313, allocations: 0 / 338.7 MB, free: 6.727 MB / 270.1 MB Notification: Performance of Templates: time 0.004624/0.3176, allocations: 1.903 MB / 340.6 MB, free: 4.824 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) Environment - environmentSimulation: