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.007015/0.007015, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.263/1.263, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001569/0.00157, allocations: 103.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004732, allocations: 7.984 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 38.77 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0952/0.3501, allocations: 68.18 MB / 381.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3504, allocations: 75.95 kB / 381.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01133/0.3617, allocations: 4.115 MB / 385.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3618, allocations: 0 / 385.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3618, allocations: 4 kB / 385.3 MB, free: 2.148 MB / 282.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.0008215/0.3627, allocations: 0.5106 MB / 385.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3627, allocations: 8.031 kB / 385.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.3628, allocations: 23.72 kB / 385.8 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3631, allocations: 235.4 kB / 386 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3631, allocations: 24.52 kB / 386.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.3632, allocations: 24 kB / 386.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.3637, allocations: 228.9 kB / 386.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3637, allocations: 3.906 kB / 386.3 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.3637, allocations: 15.98 kB / 386.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3637, allocations: 4 kB / 386.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.3641, allocations: 186.1 kB / 386.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3653, allocations: 0.7577 MB / 387.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.3658, allocations: 227.3 kB / 387.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3658, allocations: 4 kB / 387.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3659, allocations: 34.56 kB / 387.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.3659, allocations: 0 / 387.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001729/0.3676, allocations: 0.9919 MB / 388.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3677, allocations: 59.34 kB / 388.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3678, allocations: 145.8 kB / 388.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3678, allocations: 29.7 kB / 388.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3679, allocations: 148.5 kB / 388.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.368, allocations: 98.47 kB / 389 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.368, allocations: 4 kB / 389 MB, free: 14.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3682, allocations: 336.3 kB / 389.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3684, allocations: 75.97 kB / 389.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3686, allocations: 120.7 kB / 389.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3688, allocations: 96.48 kB / 389.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3688, allocations: 0 / 389.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004743/0.3693, allocations: 273.4 kB / 389.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3693, allocations: 4 kB / 389.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3693, allocations: 3.953 kB / 389.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3693, allocations: 4 kB / 389.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3696, allocations: 79.89 kB / 390 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3696, allocations: 4 kB / 390 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3698, allocations: 12 kB / 390 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3698, allocations: 8 kB / 390 MB, free: 13.11 MB / 298.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 0.000137/0.3699, allocations: 145.8 kB / 390.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.37, allocations: 15.81 kB / 390.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.37, allocations: 26.56 kB / 390.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.37, allocations: 7.953 kB / 390.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3701, allocations: 0 / 390.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3701, allocations: 3.984 kB / 390.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.371, allocations: 0.6685 MB / 390.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.371, allocations: 3.938 kB / 390.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3714, allocations: 80.02 kB / 390.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3714, allocations: 0 / 390.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3714, allocations: 11.94 kB / 390.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3714, allocations: 0 / 390.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3714, allocations: 3.938 kB / 390.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.3721, allocations: 484.8 kB / 391.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3722, allocations: 88.92 kB / 391.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3722, allocations: 16 kB / 391.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3724, allocations: 15.98 kB / 391.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3724, allocations: 15.98 kB / 391.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3725, allocations: 8 kB / 391.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.3726, allocations: 120.6 kB / 391.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3726, allocations: 0 / 391.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.3729, allocations: 60 kB / 391.7 MB, free: 11.23 MB / 298.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 0.0001419/0.373, allocations: 119.1 kB / 391.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000427/0.3734, allocations: 211.7 kB / 392.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3734, allocations: 0 / 392.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.3736, allocations: 116 kB / 392.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.374, allocations: 32.48 kB / 392.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3755, allocations: 0.9848 MB / 393.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3758, allocations: 0.7563 MB / 393.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.818e-05/0.3759, allocations: 25.92 kB / 394 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.376, allocations: 19.44 kB / 394 MB, free: 8.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.535e-06/0.376, allocations: 0 / 394 MB, free: 8.91 MB / 298.7 MB Notification: Performance of Templates: time 0.00475/0.3808, allocations: 1.928 MB / 395.9 MB, free: 7.008 MB / 298.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)