Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001208/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001464/0.001464, allocations: 193.9 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.781 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.001366/0.001366, allocations: 47.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3024, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004017/0.3065, allocations: 2.466 MB / 327.1 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3079, allocations: 0.6118 MB / 327.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3081, allocations: 7.5 kB / 327.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.3083, allocations: 27.27 kB / 327.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3085, allocations: 66.66 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3087, allocations: 58.53 kB / 327.9 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.3091, allocations: 276.8 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.3094, allocations: 92.64 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3096, allocations: 98.62 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3098, allocations: 119.4 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.3098, allocations: 16.31 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.3099, allocations: 17.53 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.31, allocations: 50.91 kB / 328.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3101, allocations: 127.8 kB / 328.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.3105, allocations: 274 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3105, allocations: 0 / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3105, allocations: 0 / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3105, allocations: 0 / 329 MB, free: 14.71 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.0009168/0.3114, allocations: 0.5414 MB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3115, allocations: 18.12 kB / 329.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.3116, allocations: 26.31 kB / 329.5 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3118, allocations: 237.5 kB / 329.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3119, allocations: 18.75 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.312, allocations: 33.09 kB / 329.8 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.3125, allocations: 227.9 kB / 330 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3126, allocations: 1.219 kB / 330 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3126, allocations: 10.16 kB / 330.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3126, allocations: 6.844 kB / 330.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.3131, allocations: 185.2 kB / 330.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3144, allocations: 0.7637 MB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.3149, allocations: 226.2 kB / 331.2 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3152, allocations: 111.3 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3152, allocations: 2.875 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3153, allocations: 36.62 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.223e-06/0.3153, allocations: 3.938 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001828/0.3171, allocations: 0.9567 MB / 332.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3172, allocations: 54.66 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3173, allocations: 161.3 kB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3173, allocations: 30.8 kB / 332.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3175, allocations: 146.8 kB / 332.7 MB, free: 11.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.3176, allocations: 97.42 kB / 332.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.3177, allocations: 55.67 kB / 332.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3178, allocations: 331.5 kB / 333.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.318, allocations: 71.89 kB / 333.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3182, allocations: 122.9 kB / 333.4 MB, free: 11.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.3186, allocations: 199.4 kB / 333.6 MB, free: 10.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3186, allocations: 3.938 kB / 333.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000488/0.3191, allocations: 253.5 kB / 333.8 MB, free: 10.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3192, allocations: 8 kB / 333.8 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3192, allocations: 4 kB / 333.8 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3192, allocations: 4 kB / 333.8 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.3195, allocations: 75.89 kB / 333.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3195, allocations: 7.938 kB / 333.9 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3196, allocations: 15.98 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3197, allocations: 8 kB / 333.9 MB, free: 10.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.3198, allocations: 145.7 kB / 334.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3199, allocations: 19.72 kB / 334.1 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.3199, allocations: 30.55 kB / 334.1 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3199, allocations: 4 kB / 334.1 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.32, allocations: 0 / 334.1 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.32, allocations: 0 / 334.1 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.3209, allocations: 0.6559 MB / 334.8 MB, free: 9.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3209, allocations: 3.984 kB / 334.8 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.3213, allocations: 71.91 kB / 334.9 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3213, allocations: 4 kB / 334.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3213, allocations: 4 kB / 334.9 MB, free: 9.543 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.3213, allocations: 7.938 kB / 334.9 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3213, allocations: 3.984 kB / 334.9 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.322, allocations: 432.7 kB / 335.3 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.3221, allocations: 96.86 kB / 335.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3221, allocations: 4.062 kB / 335.4 MB, free: 8.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3223, allocations: 23.92 kB / 335.4 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3223, allocations: 23.91 kB / 335.5 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3224, allocations: 4 kB / 335.5 MB, free: 8.922 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.84e-05/0.3224, allocations: 123.5 kB / 335.6 MB, free: 8.801 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3225, allocations: 0 / 335.6 MB, free: 8.801 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.3228, allocations: 56 kB / 335.6 MB, free: 8.746 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 (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.0001303/0.3229, allocations: 103.2 kB / 335.7 MB, free: 8.633 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3234, allocations: 203.8 kB / 335.9 MB, free: 8.434 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3234, allocations: 0 / 335.9 MB, free: 8.434 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3236, allocations: 107.8 kB / 336 MB, free: 8.328 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3241, allocations: 39.88 kB / 336.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3256, allocations: 0.915 MB / 337 MB, free: 7.344 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3259, allocations: 0.7524 MB / 337.8 MB, free: 6.566 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.293e-05/0.326, allocations: 29.92 kB / 337.8 MB, free: 6.535 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3261, allocations: 19.44 kB / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3261, allocations: 0 / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of Templates: time 0.005317/0.3314, allocations: 1.994 MB / 339.8 MB, free: 4.523 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)