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.0009667/0.0009662, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00103/0.00103, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004792/0.0004793, allocations: 14.81 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2992, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003111/0.3024, allocations: 1.943 MB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3039, allocations: 0.6 MB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.3042, allocations: 8.938 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/0.3043, allocations: 26.88 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.3046, allocations: 87.08 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3049, allocations: 46.95 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.3053, allocations: 204 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.3056, allocations: 74.97 kB / 329.4 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3058, allocations: 93.92 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.306, allocations: 108.8 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3061, allocations: 12.5 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.3062, allocations: 12.38 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.3063, allocations: 39 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.3063, allocations: 71.39 kB / 329.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.3067, allocations: 221.7 kB / 330 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3067, allocations: 0 / 330 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3067, allocations: 1.031 kB / 330 MB, free: 14.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3067, allocations: 4 kB / 330 MB, free: 14.75 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.001096/0.3078, allocations: 0.4996 MB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.3079, allocations: 9.469 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.308, allocations: 29 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.3084, allocations: 240.2 kB / 330.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.3085, allocations: 18.22 kB / 330.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3086, allocations: 29.88 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.3095, allocations: 225 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3096, allocations: 1.062 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.3096, allocations: 10 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.3096, allocations: 5.75 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.3104, allocations: 190 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3124, allocations: 0.7731 MB / 332 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.3131, allocations: 217.8 kB / 332.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3132, allocations: 6.797 kB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3132, allocations: 39.81 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 2.033e-06/0.3132, allocations: 1.375 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.002622/0.3159, allocations: 0.9945 MB / 333.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.316, allocations: 54.69 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3162, allocations: 157.2 kB / 333.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3162, allocations: 31.14 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3164, allocations: 142.7 kB / 333.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3165, allocations: 102.3 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.3165, allocations: 5.406 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3168, allocations: 330.8 kB / 334 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.3171, allocations: 88.45 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.3174, allocations: 111.8 kB / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3178, allocations: 97.94 kB / 334.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3178, allocations: 3.938 kB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008589/0.3187, allocations: 273.6 kB / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3187, allocations: 12.03 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3187, allocations: 4 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3187, allocations: 4 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.3193, allocations: 75.89 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3193, allocations: 0 / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3195, allocations: 19.98 kB / 334.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3195, allocations: 8 kB / 334.7 MB, free: 10.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.3197, allocations: 141.8 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.3198, allocations: 19.77 kB / 334.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.3199, allocations: 26.56 kB / 334.9 MB, free: 10.72 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.3199, allocations: 7.938 kB / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.32, allocations: 3.984 kB / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.32, allocations: 0 / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.3214, allocations: 0.6638 MB / 335.6 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3214, allocations: 0 / 335.6 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.3219, allocations: 75.89 kB / 335.7 MB, free: 9.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3219, allocations: 8.062 kB / 335.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3219, allocations: 4 kB / 335.7 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.3219, allocations: 4 kB / 335.7 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3219, allocations: 0 / 335.7 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3231, allocations: 493 kB / 336.2 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3232, allocations: 88.92 kB / 336.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3233, allocations: 8.062 kB / 336.3 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3235, allocations: 15.98 kB / 336.3 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.3236, allocations: 23.92 kB / 336.3 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3236, allocations: 8 kB / 336.3 MB, free: 9.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3238, allocations: 115.2 kB / 336.4 MB, free: 9.102 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3238, allocations: 0 / 336.4 MB, free: 9.102 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.3243, allocations: 60 kB / 336.5 MB, free: 9.043 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 (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.0001597/0.3245, allocations: 107.2 kB / 336.6 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.3252, allocations: 203.8 kB / 336.8 MB, free: 8.727 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3252, allocations: 0 / 336.8 MB, free: 8.727 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.3255, allocations: 117.2 kB / 336.9 MB, free: 8.613 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.3261, allocations: 31.92 kB / 336.9 MB, free: 8.582 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.329, allocations: 0.9964 MB / 337.9 MB, free: 7.559 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.3295, allocations: 0.7603 MB / 338.7 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.3297, allocations: 17.94 kB / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.3298, allocations: 19.44 kB / 338.7 MB, free: 6.73 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3298, allocations: 4 kB / 338.7 MB, free: 6.727 MB / 270.1 MB Notification: Performance of Templates: time 0.009112/0.3389, allocations: 1.907 MB / 340.6 MB, free: 4.82 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: