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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004606/0.004606, allocations: 178.2 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.293/1.293, allocations: 170.6 MB / 178.4 MB, free: 15.44 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001426/0.001426, allocations: 111.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.566e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07593/0.07595, allocations: 38.76 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.3224, allocations: 67.35 MB / 367.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3227, allocations: 70.95 kB / 367.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.0104/0.3331, allocations: 3.782 MB / 371.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3332, allocations: 6.297 kB / 371.7 MB, free: 14.02 MB / 266.7 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.0006521/0.3338, allocations: 0.4993 MB / 372.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3339, allocations: 8.031 kB / 372.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.334, allocations: 27.72 kB / 372.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3342, allocations: 235.8 kB / 372.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3342, allocations: 8 kB / 372.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3343, allocations: 15.94 kB / 372.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002489/0.3345, allocations: 134.1 kB / 372.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.3348, allocations: 173 kB / 372.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3348, allocations: 7.781 kB / 372.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3349, allocations: 0 / 372.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3349, allocations: 12 kB / 372.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3359, allocations: 0.6902 MB / 373.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3361, allocations: 118.1 kB / 373.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3363, allocations: 92.98 kB / 373.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3363, allocations: 4 kB / 373.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3363, allocations: 38.06 kB / 373.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.3363, allocations: 0 / 373.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.00105/0.3374, allocations: 0.7576 MB / 374.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3375, allocations: 59.34 kB / 374.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.3376, allocations: 127.2 kB / 374.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3376, allocations: 29.7 kB / 374.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.3377, allocations: 134.3 kB / 374.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.3377, allocations: 108 kB / 375 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.3377, allocations: 0 / 375 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3379, allocations: 330.5 kB / 375.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.338, allocations: 51.31 kB / 375.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3381, allocations: 95.22 kB / 375.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3382, allocations: 73.91 kB / 375.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3382, allocations: 0 / 375.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002962/0.3385, allocations: 208.3 kB / 375.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3385, allocations: 7.906 kB / 375.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3385, allocations: 4 kB / 375.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3386, allocations: 4 kB / 375.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.3389, allocations: 79.98 kB / 375.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3389, allocations: 4 kB / 375.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3391, allocations: 11.98 kB / 375.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3391, allocations: 15.59 kB / 375.8 MB, free: 10.18 MB / 266.7 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 () * 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 7.299e-05/0.3392, allocations: 108.9 kB / 375.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3392, allocations: 15.81 kB / 375.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3393, allocations: 23.31 kB / 376 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3393, allocations: 4 kB / 376 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3393, allocations: 0 / 376 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3393, allocations: 3.984 kB / 376 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.34, allocations: 0.5638 MB / 376.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3401, allocations: 0 / 376.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.3404, allocations: 79.02 kB / 376.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3404, allocations: 4 kB / 376.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3405, allocations: 0 / 376.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3405, allocations: 7.984 kB / 376.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3405, allocations: 4.062 kB / 376.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004594/0.3409, allocations: 407.8 kB / 377 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.341, allocations: 96.42 kB / 377.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.341, allocations: 7.984 kB / 377.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3412, allocations: 12 kB / 377.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3413, allocations: 15.97 kB / 377.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3413, allocations: 7.688 kB / 377.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.175e-05/0.3414, allocations: 105.8 kB / 377.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.3417, allocations: 48 kB / 377.3 MB, free: 8.773 MB / 266.7 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 () * 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.0001394/0.3418, allocations: 110.9 kB / 377.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3421, allocations: 153.9 kB / 377.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3421, allocations: 4 kB / 377.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3422, allocations: 89.31 kB / 377.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3426, allocations: 36.62 kB / 377.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3437, allocations: 0.6551 MB / 378.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.3441, allocations: 0.7749 MB / 379.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3442, allocations: 4 kB / 379.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Templates: time 0.005007/0.3492, allocations: 2.128 MB / 381.3 MB, free: 4.883 MB / 266.7 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)