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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001282/0.001282, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.27/1.27, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001636/0.001636, allocations: 111.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.816e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07902, allocations: 38.78 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.3829, allocations: 67.42 MB / 368.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3832, allocations: 64.34 kB / 368.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.3942, allocations: 4.085 MB / 372.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3943, allocations: 0 / 372.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3943, allocations: 4 kB / 372.6 MB, free: 13.61 MB / 266.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.0007595/0.3951, allocations: 489.1 kB / 373 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.3951, allocations: 12.03 kB / 373 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.3952, allocations: 27.72 kB / 373.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3955, allocations: 237.4 kB / 373.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3955, allocations: 15.95 kB / 373.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.3956, allocations: 23.89 kB / 373.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002915/0.3959, allocations: 130.4 kB / 373.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.3962, allocations: 166.2 kB / 373.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3963, allocations: 7.438 kB / 373.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3963, allocations: 0 / 373.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3963, allocations: 7.984 kB / 373.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3974, allocations: 0.7009 MB / 374.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3978, allocations: 191.8 kB / 374.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.398, allocations: 86.53 kB / 374.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.398, allocations: 4.438 kB / 374.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3981, allocations: 36.19 kB / 374.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.475e-06/0.3981, allocations: 4 kB / 374.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001188/0.3993, allocations: 0.7743 MB / 375.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.3993, allocations: 55.41 kB / 375.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3995, allocations: 121.7 kB / 375.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3995, allocations: 25.7 kB / 375.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.3996, allocations: 142.1 kB / 375.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.3997, allocations: 103.5 kB / 375.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.3997, allocations: 0 / 375.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3998, allocations: 332.7 kB / 376.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.3999, allocations: 53.5 kB / 376.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4001, allocations: 92.53 kB / 376.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4002, allocations: 75.78 kB / 376.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4002, allocations: 0 / 376.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003049/0.4005, allocations: 203.4 kB / 376.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4005, allocations: 8 kB / 376.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4006, allocations: 3.984 kB / 376.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4006, allocations: 7.953 kB / 376.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4009, allocations: 75.66 kB / 376.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4009, allocations: 8.078 kB / 376.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4011, allocations: 8 kB / 376.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.4011, allocations: 11.5 kB / 376.7 MB, free: 9.746 MB / 266.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 () * 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.508e-05/0.4012, allocations: 105.2 kB / 376.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.4013, allocations: 15.81 kB / 376.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.4013, allocations: 24.7 kB / 376.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4013, allocations: 4 kB / 376.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4014, allocations: 3.953 kB / 376.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4014, allocations: 4 kB / 376.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.4021, allocations: 0.5642 MB / 377.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4022, allocations: 3.938 kB / 377.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4025, allocations: 71.27 kB / 377.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4025, allocations: 11.95 kB / 377.5 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4025, allocations: 0 / 377.5 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.4026, allocations: 4 kB / 377.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4026, allocations: 3.938 kB / 377.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.403, allocations: 408.8 kB / 377.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.4031, allocations: 92.91 kB / 378 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4031, allocations: 2.188 kB / 378 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4033, allocations: 8.125 kB / 378.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.4033, allocations: 23.22 kB / 378.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4034, allocations: 8 kB / 378.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.4034, allocations: 109.7 kB / 378.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4035, allocations: 4 kB / 378.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.4038, allocations: 48 kB / 378.2 MB, free: 8.34 MB / 266.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 () * 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.0001335/0.4039, allocations: 95.19 kB / 378.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.4042, allocations: 165.4 kB / 378.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4042, allocations: 1.5 kB / 378.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4044, allocations: 84.88 kB / 378.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4047, allocations: 43.34 kB / 378.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4059, allocations: 0.664 MB / 379.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4062, allocations: 0.7598 MB / 380 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.4063, allocations: 18.08 kB / 380.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.4064, allocations: 19.44 kB / 380.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4064, allocations: 0 / 380.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of Templates: time 0.004797/0.4112, allocations: 1.805 MB / 381.9 MB, free: 4.742 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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)