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.001071/0.001071, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008855/0.008855, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.741/1.741, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004897/0.0004897, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.293, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002638/0.2957, allocations: 2.112 MB / 329.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2968, allocations: 0.6131 MB / 329.7 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2969, allocations: 9.156 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2971, allocations: 31.91 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2972, allocations: 68.55 kB / 329.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.2974, allocations: 41.34 kB / 329.9 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2978, allocations: 283.9 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.298, allocations: 92.7 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2981, allocations: 94.89 kB / 330.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2983, allocations: 111.8 kB / 330.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.2983, allocations: 13.09 kB / 330.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.92e-05/0.2984, allocations: 13.34 kB / 330.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.2984, allocations: 46.83 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2986, allocations: 140.7 kB / 330.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2989, allocations: 270.2 kB / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2989, allocations: 0 / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2989, allocations: 0 / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2989, allocations: 0 / 330.9 MB, free: 14.42 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.0007989/0.2997, allocations: 0.5025 MB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2998, allocations: 13.81 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.2999, allocations: 30.91 kB / 331.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3001, allocations: 236.3 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3002, allocations: 23.66 kB / 331.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3002, allocations: 32.94 kB / 331.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3007, allocations: 228.4 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3008, allocations: 1.094 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.3008, allocations: 14.09 kB / 332 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3008, allocations: 10.53 kB / 332 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3013, allocations: 191.2 kB / 332.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3025, allocations: 0.7657 MB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3031, allocations: 222.2 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.3033, allocations: 123.9 kB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3034, allocations: 2.75 kB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3034, allocations: 41.28 kB / 333.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.3034, allocations: 0 / 333.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001889/0.3053, allocations: 0.9928 MB / 334.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3054, allocations: 55.41 kB / 334.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3055, allocations: 159.8 kB / 334.6 MB, free: 11.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.3055, allocations: 29.7 kB / 334.6 MB, free: 11.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.3056, allocations: 148.5 kB / 334.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.3057, allocations: 102.5 kB / 334.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.3058, allocations: 25.72 kB / 334.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.306, allocations: 334.8 kB / 335.2 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.3062, allocations: 83.95 kB / 335.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3064, allocations: 116.4 kB / 335.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.3068, allocations: 215.3 kB / 335.6 MB, free: 10.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3068, allocations: 0 / 335.6 MB, free: 10.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005085/0.3073, allocations: 273.3 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3074, allocations: 4 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.3074, allocations: 4 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3074, allocations: 0 / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3077, allocations: 83.98 kB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3077, allocations: 7.938 kB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.3079, allocations: 15.98 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3079, allocations: 8 kB / 336 MB, free: 10.08 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.0001321/0.308, allocations: 137.7 kB / 336.1 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.3081, allocations: 23.72 kB / 336.1 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.3081, allocations: 22.56 kB / 336.2 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.3082, allocations: 8 kB / 336.2 MB, free: 9.887 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3082, allocations: 0 / 336.2 MB, free: 9.887 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3082, allocations: 3.984 kB / 336.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.3091, allocations: 0.6754 MB / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3092, allocations: 0 / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3095, allocations: 79.95 kB / 336.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3095, allocations: 0 / 336.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3095, allocations: 8 kB / 336.9 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3095, allocations: 11.81 kB / 336.9 MB, free: 9.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3095, allocations: 4 kB / 336.9 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.3102, allocations: 459.5 kB / 337.4 MB, free: 8.574 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3103, allocations: 92.83 kB / 337.5 MB, free: 8.465 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3103, allocations: 8.062 kB / 337.5 MB, free: 8.457 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3105, allocations: 19.92 kB / 337.5 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3105, allocations: 11.98 kB / 337.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3106, allocations: 11.98 kB / 337.5 MB, free: 8.414 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.633e-05/0.3107, allocations: 127.2 kB / 337.7 MB, free: 8.289 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3107, allocations: 0 / 337.7 MB, free: 8.289 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.311, allocations: 52 kB / 337.7 MB, free: 8.238 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.0001299/0.3111, allocations: 103.2 kB / 337.8 MB, free: 8.125 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.3116, allocations: 211.8 kB / 338 MB, free: 7.918 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3116, allocations: 0 / 338 MB, free: 7.918 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3118, allocations: 111.8 kB / 338.1 MB, free: 7.809 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3122, allocations: 36.23 kB / 338.2 MB, free: 7.773 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3136, allocations: 1.024 MB / 339.2 MB, free: 6.723 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.314, allocations: 0.7563 MB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.678e-05/0.3141, allocations: 17.95 kB / 340 MB, free: 5.918 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.3141, allocations: 19.44 kB / 340 MB, free: 5.898 MB / 270.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3141, allocations: 0 / 340 MB, free: 5.898 MB / 270.1 MB Notification: Performance of Templates: time 0.004824/0.3189, allocations: 1.985 MB / 342 MB, free: 3.914 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)