Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009684/0.0009685, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.127/1.127, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001608/0.001608, allocations: 120.7 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07572, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.2937, allocations: 73.48 MB / 428.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.294, allocations: 78.52 kB / 428.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009162/0.3031, allocations: 4.109 MB / 432.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3032, allocations: 3.172 kB / 432.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3032, allocations: 4 kB / 432.7 MB, free: 12.71 MB / 314.7 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.0005358/0.3037, allocations: 0.5112 MB / 433.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3038, allocations: 8.031 kB / 433.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.3038, allocations: 27.72 kB / 433.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.304, allocations: 225.2 kB / 433.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.304, allocations: 19.5 kB / 433.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.3041, allocations: 34.66 kB / 433.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.3044, allocations: 226.8 kB / 433.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3045, allocations: 2.25 kB / 433.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3045, allocations: 11.19 kB / 433.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3045, allocations: 8 kB / 433.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.3048, allocations: 187.1 kB / 434 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.3057, allocations: 0.7609 MB / 434.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3061, allocations: 217.5 kB / 434.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3061, allocations: 5.406 kB / 434.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3061, allocations: 33.69 kB / 435 MB, free: 10.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3061, allocations: 0 / 435 MB, free: 10.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001375/0.3075, allocations: 0.9894 MB / 436 MB, free: 9.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.3076, allocations: 55.41 kB / 436 MB, free: 9.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3077, allocations: 141.2 kB / 436.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3077, allocations: 29.33 kB / 436.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3077, allocations: 153.2 kB / 436.3 MB, free: 9.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3078, allocations: 96.44 kB / 436.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.3078, allocations: 7.25 kB / 436.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3079, allocations: 334.2 kB / 436.8 MB, free: 9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.308, allocations: 76.89 kB / 436.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3082, allocations: 117.2 kB / 437 MB, free: 8.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3083, allocations: 99.25 kB / 437.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3083, allocations: 0 / 437.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003723/0.3087, allocations: 275.9 kB / 437.3 MB, free: 8.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3087, allocations: 4 kB / 437.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3088, allocations: 4 kB / 437.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3088, allocations: 0 / 437.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.309, allocations: 77.83 kB / 437.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.309, allocations: 8.094 kB / 437.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3092, allocations: 12.22 kB / 437.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3092, allocations: 11.56 kB / 437.4 MB, free: 8.469 MB / 314.7 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 8.428e-05/0.3093, allocations: 142.7 kB / 437.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3093, allocations: 23.72 kB / 437.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.3094, allocations: 22.97 kB / 437.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3094, allocations: 6.188 kB / 437.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3094, allocations: 4 kB / 437.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3094, allocations: 4.828 kB / 437.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.3101, allocations: 0.669 MB / 438.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3101, allocations: 0 / 438.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3104, allocations: 78.7 kB / 438.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3104, allocations: 1.219 kB / 438.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3105, allocations: 7.188 kB / 438.4 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3105, allocations: 1.375 kB / 438.4 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3105, allocations: 4 kB / 438.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.311, allocations: 488 kB / 438.9 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3111, allocations: 97.14 kB / 439 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3111, allocations: 3.312 kB / 439 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3112, allocations: 15.23 kB / 439 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3113, allocations: 27.25 kB / 439 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3113, allocations: 11.98 kB / 439 MB, free: 7.031 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.3114, allocations: 116.7 kB / 439.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3114, allocations: 0 / 439.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.3116, allocations: 57.88 kB / 439.2 MB, free: 6.879 MB / 314.7 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 9.726e-05/0.3117, allocations: 108.8 kB / 439.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.3121, allocations: 213.8 kB / 439.5 MB, free: 6.609 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3121, allocations: 0 / 439.5 MB, free: 6.609 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3123, allocations: 112 kB / 439.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3126, allocations: 32.47 kB / 439.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3136, allocations: 0.9929 MB / 440.6 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3138, allocations: 0.7563 MB / 441.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.401e-05/0.3139, allocations: 21.94 kB / 441.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3139, allocations: 19.44 kB / 441.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3139, allocations: 4 kB / 441.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of Templates: time 0.003653/0.3176, allocations: 1.916 MB / 443.4 MB, free: 2.859 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)