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.00107/0.00107, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001264/0.001264, allocations: 168.7 kB / 15.95 MB, free: 204 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0007346/0.0007348, allocations: 10.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3727, allocations: 47.6 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002345/0.3751, allocations: 2.028 MB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3762, allocations: 0.5885 MB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3764, allocations: 7.844 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3765, allocations: 24.28 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.3767, allocations: 67.98 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3769, allocations: 46.02 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.3772, allocations: 277.6 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.3774, allocations: 78.53 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3776, allocations: 95.47 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.3778, allocations: 104 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.3778, allocations: 13.12 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.3779, allocations: 13.19 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.3779, allocations: 42.91 kB / 329.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.378, allocations: 70.39 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3783, allocations: 211 kB / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3783, allocations: 1.156 kB / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3783, allocations: 0 / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3784, allocations: 0 / 330.1 MB, free: 14.65 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.0008595/0.3792, allocations: 0.5088 MB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3793, allocations: 8.156 kB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.3794, allocations: 30.03 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3797, allocations: 239.9 kB / 330.9 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3797, allocations: 22.81 kB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.3798, allocations: 29.05 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.3803, allocations: 226.9 kB / 331.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3803, allocations: 1.406 kB / 331.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3804, allocations: 10.25 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3804, allocations: 5.719 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.3808, allocations: 189.1 kB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3821, allocations: 0.7739 MB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3826, allocations: 213.8 kB / 332.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3829, allocations: 126.4 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3829, allocations: 3.188 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3829, allocations: 35.62 kB / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3829, allocations: 0 / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001781/0.3847, allocations: 0.999 MB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.3848, allocations: 58.91 kB / 333.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3849, allocations: 152.6 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.385, allocations: 31.89 kB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.3851, allocations: 146.8 kB / 333.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.3852, allocations: 97.88 kB / 334 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.3852, allocations: 5.125 kB / 334 MB, free: 11.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3853, allocations: 331.3 kB / 334.3 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3855, allocations: 83.36 kB / 334.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3857, allocations: 114.4 kB / 334.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3859, allocations: 99.97 kB / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3859, allocations: 0 / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004722/0.3864, allocations: 273.3 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3865, allocations: 4 kB / 334.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3865, allocations: 0 / 334.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3865, allocations: 7.938 kB / 334.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.3868, allocations: 75.95 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3868, allocations: 11.88 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.387, allocations: 20.02 kB / 335 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.387, allocations: 12 kB / 335 MB, free: 10.63 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.000126/0.3871, allocations: 133.8 kB / 335.1 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.3872, allocations: 23.77 kB / 335.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.3872, allocations: 22.56 kB / 335.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3872, allocations: 4 kB / 335.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3873, allocations: 0 / 335.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3873, allocations: 7.984 kB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.3882, allocations: 0.6677 MB / 335.9 MB, free: 9.703 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3883, allocations: 4.062 kB / 335.9 MB, free: 9.699 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.3886, allocations: 71.89 kB / 335.9 MB, free: 9.629 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.3886, allocations: 4 kB / 335.9 MB, free: 9.625 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.3886, allocations: 8 kB / 336 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3886, allocations: 3.984 kB / 336 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3886, allocations: 0 / 336 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.3893, allocations: 467.3 kB / 336.4 MB, free: 9.137 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3894, allocations: 88.92 kB / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3894, allocations: 12.06 kB / 336.5 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.3896, allocations: 15.98 kB / 336.5 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.3896, allocations: 19.92 kB / 336.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3897, allocations: 11.97 kB / 336.6 MB, free: 8.973 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.3898, allocations: 119.2 kB / 336.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3898, allocations: 0 / 336.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.3901, allocations: 56 kB / 336.7 MB, free: 8.801 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.0001167/0.3902, allocations: 107.2 kB / 336.8 MB, free: 8.684 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.3907, allocations: 211.7 kB / 337 MB, free: 8.477 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3907, allocations: 0 / 337 MB, free: 8.477 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3909, allocations: 112.1 kB / 337.2 MB, free: 8.367 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3914, allocations: 35.94 kB / 337.2 MB, free: 8.332 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3928, allocations: 0.9887 MB / 338.2 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3932, allocations: 0.7563 MB / 338.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.3933, allocations: 25.92 kB / 339 MB, free: 6.504 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.3933, allocations: 19.44 kB / 339 MB, free: 6.484 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3933, allocations: 0 / 339 MB, free: 6.484 MB / 270.1 MB Notification: Performance of Templates: time 0.004789/0.3981, allocations: 1.907 MB / 340.9 MB, free: 4.578 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)