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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001397/0.001398, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2611, allocations: 46.62 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003582/0.2647, allocations: 2.416 MB / 327.7 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2658, allocations: 0.6219 MB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.266, allocations: 8.562 kB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.2661, allocations: 43.98 kB / 328.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2663, allocations: 75.77 kB / 328.5 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2665, allocations: 51.5 kB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2669, allocations: 298.1 kB / 328.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.2671, allocations: 115.8 kB / 328.9 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2673, allocations: 111.2 kB / 329 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2674, allocations: 119.4 kB / 329.1 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2675, allocations: 23.31 kB / 329.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.2675, allocations: 24 kB / 329.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.2676, allocations: 58.39 kB / 329.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2677, allocations: 128.4 kB / 329.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.268, allocations: 302.2 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2681, allocations: 1.156 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2681, allocations: 4 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2681, allocations: 0 / 329.7 MB, free: 14.53 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.0007823/0.2689, allocations: 0.5376 MB / 330.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2689, allocations: 9.812 kB / 330.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.269, allocations: 26.03 kB / 330.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2692, allocations: 237.2 kB / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2692, allocations: 23.06 kB / 330.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.2693, allocations: 33.25 kB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.2698, allocations: 228.1 kB / 330.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2698, allocations: 0.9688 kB / 330.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.2698, allocations: 10 kB / 330.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2699, allocations: 6.688 kB / 330.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.2703, allocations: 177.2 kB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.2716, allocations: 0.7646 MB / 331.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.2721, allocations: 209.6 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.2724, allocations: 119.5 kB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2724, allocations: 2.438 kB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2724, allocations: 39.56 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.2724, allocations: 1.156 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.001733/0.2742, allocations: 0.9622 MB / 333 MB, free: 11.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2742, allocations: 51.41 kB / 333.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2743, allocations: 158.6 kB / 333.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2744, allocations: 29.7 kB / 333.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2745, allocations: 148.5 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.2746, allocations: 98.56 kB / 333.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.2746, allocations: 45.7 kB / 333.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2748, allocations: 338.8 kB / 333.9 MB, free: 11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.275, allocations: 79.95 kB / 334 MB, free: 10.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2752, allocations: 116.4 kB / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.2756, allocations: 199.3 kB / 334.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2756, allocations: 3.938 kB / 334.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004549/0.276, allocations: 257.4 kB / 334.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2761, allocations: 8 kB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2761, allocations: 0 / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2761, allocations: 4 kB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.2764, allocations: 79.98 kB / 334.6 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2764, allocations: 4 kB / 334.6 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2765, allocations: 11.98 kB / 334.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2766, allocations: 15.94 kB / 334.6 MB, free: 10.21 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.0001287/0.2767, allocations: 141.7 kB / 334.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2767, allocations: 19.72 kB / 334.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.2768, allocations: 26.56 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2768, allocations: 4 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2768, allocations: 0 / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2768, allocations: 7.984 kB / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/0.2778, allocations: 0.6559 MB / 335.5 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2778, allocations: 4.047 kB / 335.5 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.2781, allocations: 79.89 kB / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2781, allocations: 0 / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2781, allocations: 8 kB / 335.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2782, allocations: 3.938 kB / 335.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2782, allocations: 4 kB / 335.6 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.2788, allocations: 436.7 kB / 336 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.2789, allocations: 88.92 kB / 336.1 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2789, allocations: 8.062 kB / 336.1 MB, free: 8.633 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2791, allocations: 19.86 kB / 336.1 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.2792, allocations: 15.98 kB / 336.2 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2792, allocations: 8 kB / 336.2 MB, free: 8.59 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.2793, allocations: 127.5 kB / 336.3 MB, free: 8.465 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 336.3 MB, free: 8.465 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2796, allocations: 56 kB / 336.3 MB, free: 8.41 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.0001269/0.2797, allocations: 111.2 kB / 336.4 MB, free: 8.289 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.2802, allocations: 203.7 kB / 336.6 MB, free: 8.09 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2802, allocations: 192 / 336.6 MB, free: 8.09 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2804, allocations: 111.8 kB / 336.8 MB, free: 7.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.2809, allocations: 47.81 kB / 336.8 MB, free: 7.934 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2824, allocations: 0.8154 MB / 337.6 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2827, allocations: 0.7522 MB / 338.4 MB, free: 6.309 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.645e-05/0.2827, allocations: 21.94 kB / 338.4 MB, free: 6.285 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.2828, allocations: 23.44 kB / 338.4 MB, free: 6.262 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2828, allocations: 0 / 338.4 MB, free: 6.262 MB / 270.1 MB Notification: Performance of Templates: time 0.005073/0.2879, allocations: 2.161 MB / 340.6 MB, free: 4.102 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)