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.001102/0.001101, allocations: 182.8 kB / 13.64 MB, free: 1.676 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.467/1.467, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001619/0.001619, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.502e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08786, allocations: 44.51 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4538, allocations: 73.4 MB / 422.8 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4541, allocations: 76.06 kB / 422.9 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009916/0.4641, allocations: 4.095 MB / 427 MB, free: 9.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4641, allocations: 0 / 427 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4641, allocations: 3.812 kB / 427 MB, free: 9.934 MB / 298.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.0006608/0.4648, allocations: 496.5 kB / 427.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4649, allocations: 7.656 kB / 427.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.4649, allocations: 30.94 kB / 427.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4652, allocations: 239.2 kB / 427.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4652, allocations: 20.28 kB / 427.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.4653, allocations: 25.88 kB / 427.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.4657, allocations: 204.4 kB / 428 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4657, allocations: 0 / 428 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.4658, allocations: 18.25 kB / 428 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4658, allocations: 7.531 kB / 428 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.466, allocations: 151.7 kB / 428.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.4671, allocations: 0.7593 MB / 428.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.4675, allocations: 202 kB / 429.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.4677, allocations: 95.33 kB / 429.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4677, allocations: 7.875 kB / 429.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4677, allocations: 33.69 kB / 429.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.4677, allocations: 0 / 429.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001089/0.4688, allocations: 0.8334 MB / 430.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4689, allocations: 56.97 kB / 430.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.469, allocations: 142.2 kB / 430.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.469, allocations: 32.27 kB / 430.3 MB, free: 7.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.4691, allocations: 138.8 kB / 430.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.4691, allocations: 101.3 kB / 430.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4691, allocations: 11.66 kB / 430.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.4692, allocations: 334.2 kB / 430.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.4693, allocations: 56.06 kB / 431 MB, free: 7.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4694, allocations: 99.98 kB / 431.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.4695, allocations: 71.89 kB / 431.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4695, allocations: 0 / 431.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002859/0.4698, allocations: 238.7 kB / 431.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4699, allocations: 7.828 kB / 431.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4699, allocations: 0 / 431.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4699, allocations: 3.969 kB / 431.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.4702, allocations: 81.47 kB / 431.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4702, allocations: 3.938 kB / 431.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4703, allocations: 15.64 kB / 431.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4703, allocations: 7.688 kB / 431.5 MB, free: 7.203 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 () * 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 5.998e-05/0.4704, allocations: 121.5 kB / 431.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.4704, allocations: 19.5 kB / 431.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.4705, allocations: 34.77 kB / 431.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4705, allocations: 3.875 kB / 431.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4705, allocations: 0 / 431.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.4705, allocations: 0 / 431.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.4712, allocations: 0.6279 MB / 432.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4712, allocations: 8.047 kB / 432.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.4715, allocations: 73.78 kB / 432.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4715, allocations: 3.844 kB / 432.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.4715, allocations: 3.188 kB / 432.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4715, allocations: 7.781 kB / 432.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4715, allocations: 3.984 kB / 432.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4719, allocations: 425.9 kB / 432.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.472, allocations: 92.7 kB / 432.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.472, allocations: 11.08 kB / 432.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4721, allocations: 21.88 kB / 432.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.4722, allocations: 19.59 kB / 432.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4722, allocations: 14.75 kB / 433 MB, free: 6.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.4723, allocations: 116.9 kB / 433.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4723, allocations: 0 / 433.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.4726, allocations: 57.44 kB / 433.1 MB, free: 6.207 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 () * 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.0001104/0.4727, allocations: 104.7 kB / 433.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.4729, allocations: 179 kB / 433.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.473, allocations: 192 / 433.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4731, allocations: 95.91 kB / 433.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.4734, allocations: 39.41 kB / 433.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.4743, allocations: 0.6955 MB / 434.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.4745, allocations: 0.758 MB / 435 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.4746, allocations: 21.59 kB / 435 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.4746, allocations: 19.12 kB / 435 MB, free: 4.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4747, allocations: 4 kB / 435 MB, free: 4.816 MB / 298.7 MB Notification: Performance of Templates: time 0.004226/0.4789, allocations: 1.924 MB / 437 MB, free: 3.875 MB / 298.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)