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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00139/0.00139, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 5.004 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.001233/0.001234, allocations: 47.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00447/0.314, allocations: 2.466 MB / 327.1 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3153, allocations: 0.6227 MB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.3155, allocations: 4.594 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3158, allocations: 24.75 kB / 327.8 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.3161, allocations: 71.33 kB / 327.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3163, allocations: 46.5 kB / 327.9 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.3168, allocations: 279.1 kB / 328.2 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3171, allocations: 92.67 kB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3173, allocations: 106.6 kB / 328.4 MB, free: 15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.3176, allocations: 119.5 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.3177, allocations: 16.31 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.3177, allocations: 17.47 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.3178, allocations: 47 kB / 328.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.318, allocations: 123.9 kB / 328.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3183, allocations: 278 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3184, allocations: 0 / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3184, allocations: 0 / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3184, allocations: 0 / 329 MB, free: 14.59 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.001159/0.3195, allocations: 0.5498 MB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3196, allocations: 9.188 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.3197, allocations: 26.5 kB / 329.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.32, allocations: 233.8 kB / 329.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3201, allocations: 19 kB / 329.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.3202, allocations: 36.86 kB / 329.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.3207, allocations: 231.5 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.3208, allocations: 5.109 kB / 330.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3208, allocations: 10.47 kB / 330.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3208, allocations: 6.656 kB / 330.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.3213, allocations: 172.9 kB / 330.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.3227, allocations: 0.7648 MB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.3233, allocations: 218 kB / 331.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3235, allocations: 110.8 kB / 331.3 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3236, allocations: 2.625 kB / 331.3 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3236, allocations: 43.67 kB / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3236, allocations: 1.156 kB / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.002151/0.3258, allocations: 0.9528 MB / 332.3 MB, free: 11.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3258, allocations: 53.91 kB / 332.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.326, allocations: 165.3 kB / 332.5 MB, free: 11.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.326, allocations: 34.73 kB / 332.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3262, allocations: 151.3 kB / 332.7 MB, free: 11.6 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.3263, allocations: 97.58 kB / 332.8 MB, free: 11.51 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.3264, allocations: 51.98 kB / 332.9 MB, free: 11.47 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3265, allocations: 335.1 kB / 333.2 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3267, allocations: 68.19 kB / 333.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.327, allocations: 124.6 kB / 333.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3274, allocations: 205.1 kB / 333.6 MB, free: 10.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3274, allocations: 0 / 333.6 MB, free: 10.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005613/0.328, allocations: 262.3 kB / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.328, allocations: 4 kB / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.328, allocations: 0 / 333.8 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.3281, allocations: 4 kB / 333.8 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.3284, allocations: 75.84 kB / 333.9 MB, free: 10.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3284, allocations: 7.984 kB / 333.9 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3285, allocations: 12.09 kB / 333.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3285, allocations: 12 kB / 334 MB, free: 10.57 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.000143/0.3287, allocations: 141.7 kB / 334.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3287, allocations: 23.7 kB / 334.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.3288, allocations: 26.56 kB / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3288, allocations: 0 / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3288, allocations: 4 kB / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3288, allocations: 0 / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.3298, allocations: 0.6559 MB / 334.8 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3298, allocations: 0 / 334.8 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.3302, allocations: 75.89 kB / 334.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3302, allocations: 0 / 334.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3302, allocations: 8 kB / 334.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.3302, allocations: 12 kB / 334.9 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3302, allocations: 0 / 334.9 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.3309, allocations: 428.7 kB / 335.3 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.331, allocations: 100.9 kB / 335.4 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.331, allocations: 4.062 kB / 335.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3312, allocations: 19.88 kB / 335.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3312, allocations: 19.97 kB / 335.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3313, allocations: 4 kB / 335.5 MB, free: 8.953 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.071e-05/0.3314, allocations: 123.5 kB / 335.6 MB, free: 8.832 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3314, allocations: 0 / 335.6 MB, free: 8.832 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3317, allocations: 56 kB / 335.6 MB, free: 8.777 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.0001173/0.3318, allocations: 111.1 kB / 335.7 MB, free: 8.656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.3322, allocations: 199.8 kB / 335.9 MB, free: 8.461 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3322, allocations: 0 / 335.9 MB, free: 8.461 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3324, allocations: 107.8 kB / 336 MB, free: 8.355 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3329, allocations: 48.17 kB / 336.1 MB, free: 8.309 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3343, allocations: 0.9069 MB / 337 MB, free: 7.371 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3346, allocations: 0.7563 MB / 337.8 MB, free: 6.59 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.3347, allocations: 17.94 kB / 337.8 MB, free: 6.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3347, allocations: 19.44 kB / 337.8 MB, free: 6.551 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3347, allocations: 4 kB / 337.8 MB, free: 6.547 MB / 270.1 MB Notification: Performance of Templates: time 0.005053/0.3398, allocations: 2.009 MB / 339.8 MB, free: 4.539 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)