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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009822/0.009822, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.724/1.724, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.000455/0.0004547, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3129, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002456/0.3154, allocations: 2.104 MB / 329.1 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3165, allocations: 0.6164 MB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.3167, allocations: 4.844 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3168, allocations: 24.56 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.317, allocations: 72.17 kB / 329.9 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.3172, allocations: 50.11 kB / 329.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3176, allocations: 278.6 kB / 330.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3178, allocations: 88.67 kB / 330.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.318, allocations: 96.3 kB / 330.4 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3182, allocations: 115 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.3182, allocations: 13.84 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.3183, allocations: 12.47 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.3183, allocations: 43.38 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3185, allocations: 140 kB / 330.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.3188, allocations: 270 kB / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3188, allocations: 1.344 kB / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3188, allocations: 0 / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3188, allocations: 0 / 330.9 MB, free: 14.44 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.0008179/0.3197, allocations: 0.5101 MB / 331.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3197, allocations: 8.906 kB / 331.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.3198, allocations: 34.94 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3202, allocations: 229.4 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3202, allocations: 23.03 kB / 331.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.3203, allocations: 33.03 kB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.3207, allocations: 231.9 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3208, allocations: 1.25 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3208, allocations: 15.12 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3208, allocations: 5.312 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.3213, allocations: 191 kB / 332.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3225, allocations: 0.7696 MB / 333 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.3231, allocations: 227.1 kB / 333.2 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.3233, allocations: 120.5 kB / 333.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3234, allocations: 2.312 kB / 333.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3234, allocations: 35.81 kB / 333.3 MB, free: 12.58 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3234, allocations: 4.969 kB / 333.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001865/0.3253, allocations: 0.9868 MB / 334.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3253, allocations: 59.41 kB / 334.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3255, allocations: 159.8 kB / 334.6 MB, free: 11.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3255, allocations: 33.7 kB / 334.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.3256, allocations: 140.5 kB / 334.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.3257, allocations: 102.5 kB / 334.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.3258, allocations: 29.72 kB / 334.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3259, allocations: 334.8 kB / 335.2 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3261, allocations: 83.95 kB / 335.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3263, allocations: 116.4 kB / 335.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.3267, allocations: 215.3 kB / 335.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3268, allocations: 0 / 335.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004828/0.3272, allocations: 265.4 kB / 335.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3273, allocations: 8 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3273, allocations: 0 / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3273, allocations: 4 kB / 335.9 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.3276, allocations: 79.89 kB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3276, allocations: 4.094 kB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.3278, allocations: 23.92 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3278, allocations: 7.984 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.0001378/0.3279, allocations: 145.7 kB / 336.1 MB, free: 9.926 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.328, allocations: 19.72 kB / 336.1 MB, free: 9.906 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.3281, allocations: 26.56 kB / 336.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3281, allocations: 4 kB / 336.2 MB, free: 9.879 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3281, allocations: 7.984 kB / 336.2 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3281, allocations: 0 / 336.2 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3292, allocations: 0.6637 MB / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3292, allocations: 4 kB / 336.8 MB, free: 9.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.3295, allocations: 75.89 kB / 336.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3295, allocations: 4 kB / 336.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3296, allocations: 4 kB / 336.9 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3296, allocations: 11.88 kB / 336.9 MB, free: 9.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3296, allocations: 4 kB / 336.9 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.3304, allocations: 463.5 kB / 337.4 MB, free: 8.57 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.3305, allocations: 96.83 kB / 337.5 MB, free: 8.457 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3305, allocations: 4.062 kB / 337.5 MB, free: 8.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3307, allocations: 19.92 kB / 337.5 MB, free: 8.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.3307, allocations: 11.98 kB / 337.5 MB, free: 8.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3307, allocations: 15.98 kB / 337.5 MB, free: 8.406 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.3308, allocations: 115.2 kB / 337.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 4 kB / 337.6 MB, free: 8.289 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.3312, allocations: 60 kB / 337.7 MB, free: 8.23 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.0001315/0.3313, allocations: 103.2 kB / 337.8 MB, free: 8.117 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.3318, allocations: 211.8 kB / 338 MB, free: 7.91 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3318, allocations: 0 / 338 MB, free: 7.91 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.332, allocations: 111.8 kB / 338.1 MB, free: 7.801 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.3325, allocations: 31.98 kB / 338.2 MB, free: 7.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.334, allocations: 1.028 MB / 339.2 MB, free: 6.715 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3344, allocations: 0.7524 MB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.258e-05/0.3345, allocations: 17.95 kB / 340 MB, free: 5.914 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.3346, allocations: 19.44 kB / 340 MB, free: 5.895 MB / 270.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3346, allocations: 0 / 340 MB, free: 5.895 MB / 270.1 MB Notification: Performance of Templates: time 0.005309/0.3399, allocations: 1.989 MB / 342 MB, free: 3.906 MB / 270.1 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)