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.001373/0.001379, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001612/0.001612, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.622/1.622, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001289/0.001289, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3234, allocations: 46.63 MB / 324.8 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003756/0.3272, allocations: 2.469 MB / 327.3 MB, free: 24 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3283, allocations: 0.6089 MB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3285, allocations: 7.594 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3287, allocations: 36.67 kB / 328 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.3288, allocations: 67.64 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.329, allocations: 51.02 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.3294, allocations: 289.9 kB / 328.4 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3296, allocations: 116.3 kB / 328.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3298, allocations: 109.8 kB / 328.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3299, allocations: 116.6 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.33, allocations: 23.34 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.33, allocations: 24.44 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3301, allocations: 62.81 kB / 328.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3302, allocations: 127.5 kB / 328.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3306, allocations: 290.5 kB / 329.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3306, allocations: 0 / 329.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3306, allocations: 1.031 kB / 329.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3306, allocations: 4 kB / 329.2 MB, free: 14.66 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.0009258/0.3316, allocations: 0.5381 MB / 329.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/0.3316, allocations: 13.05 kB / 329.8 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.3317, allocations: 26.03 kB / 329.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3321, allocations: 233.1 kB / 330 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.3322, allocations: 19 kB / 330 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.3323, allocations: 42.11 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.3328, allocations: 227.1 kB / 330.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.3329, allocations: 5.109 kB / 330.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3329, allocations: 10.19 kB / 330.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3329, allocations: 6.844 kB / 330.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.3334, allocations: 174 kB / 330.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3346, allocations: 0.763 MB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.3352, allocations: 214.8 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.3354, allocations: 111.1 kB / 331.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3354, allocations: 2.344 kB / 331.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3355, allocations: 35.75 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/0.3355, allocations: 5.062 kB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001866/0.3374, allocations: 0.9601 MB / 332.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3374, allocations: 58.75 kB / 332.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3376, allocations: 157 kB / 332.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3376, allocations: 31.17 kB / 332.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3377, allocations: 151.8 kB / 333 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.3378, allocations: 94.56 kB / 333.1 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.3379, allocations: 53.7 kB / 333.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3381, allocations: 330.8 kB / 333.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3382, allocations: 75.95 kB / 333.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.3384, allocations: 120.4 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3388, allocations: 199.3 kB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3388, allocations: 7.938 kB / 333.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004388/0.3393, allocations: 257.4 kB / 334.1 MB, free: 10.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3393, allocations: 7.984 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3393, allocations: 0 / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3393, allocations: 4 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3396, allocations: 71.91 kB / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3397, allocations: 8.094 kB / 334.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3398, allocations: 11.98 kB / 334.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3398, allocations: 8 kB / 334.2 MB, free: 10.41 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.0001391/0.3399, allocations: 145.7 kB / 334.3 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.34, allocations: 19.72 kB / 334.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.3401, allocations: 30.55 kB / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3401, allocations: 0 / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3401, allocations: 4 kB / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3401, allocations: 4 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.341, allocations: 0.6559 MB / 335 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3411, allocations: 0 / 335 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3414, allocations: 83.89 kB / 335.1 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3414, allocations: 0 / 335.1 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3414, allocations: 8 kB / 335.1 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3414, allocations: 7.938 kB / 335.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3414, allocations: 0 / 335.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.3422, allocations: 436.7 kB / 335.6 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.3422, allocations: 96.91 kB / 335.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3423, allocations: 4.062 kB / 335.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3424, allocations: 15.94 kB / 335.7 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.3425, allocations: 19.91 kB / 335.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3425, allocations: 8 kB / 335.7 MB, free: 8.781 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.3426, allocations: 123.5 kB / 335.8 MB, free: 8.66 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3426, allocations: 4 kB / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.3429, allocations: 56 kB / 335.9 MB, free: 8.602 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.0001357/0.343, allocations: 103.2 kB / 336 MB, free: 8.488 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.3435, allocations: 215.7 kB / 336.2 MB, free: 8.277 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3435, allocations: 0 / 336.2 MB, free: 8.277 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3437, allocations: 112.1 kB / 336.3 MB, free: 8.168 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.3442, allocations: 47.89 kB / 336.4 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3457, allocations: 0.909 MB / 337.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3461, allocations: 0.7522 MB / 338 MB, free: 6.402 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.3462, allocations: 21.94 kB / 338 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.3463, allocations: 19.44 kB / 338.1 MB, free: 6.359 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3463, allocations: 0 / 338.1 MB, free: 6.359 MB / 270.1 MB Notification: Performance of Templates: time 0.005227/0.3515, allocations: 2.102 MB / 340.2 MB, free: 4.258 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)