Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 192.7 kB / 8.135 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.254/1.254, allocations: 194.2 MB / 202.8 MB, free: 8.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 124.7 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.634e-06, allocations: 4 kB / 297.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07292/0.07294, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.267, allocations: 72.66 MB / 414.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.2672, allocations: 81.28 kB / 414.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01029/0.2775, allocations: 3.762 MB / 418.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.2776, allocations: 5.688 kB / 418.6 MB, free: 19.41 MB / 314.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.0005719/0.2782, allocations: 0.4969 MB / 419.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2782, allocations: 8.031 kB / 419.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.2783, allocations: 27.62 kB / 419.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2785, allocations: 236.8 kB / 419.3 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2785, allocations: 8 kB / 419.3 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2785, allocations: 19.98 kB / 419.3 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002599/0.2788, allocations: 133.6 kB / 419.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.2791, allocations: 176.5 kB / 419.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2791, allocations: 0 / 419.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2791, allocations: 6.625 kB / 419.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2791, allocations: 4 kB / 419.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.28, allocations: 0.6988 MB / 420.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2803, allocations: 124.7 kB / 420.5 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2805, allocations: 91.8 kB / 420.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2805, allocations: 4 kB / 420.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.2805, allocations: 42.83 kB / 420.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2805, allocations: 0 / 420.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.000931/0.2815, allocations: 0.7657 MB / 421.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.2815, allocations: 51.41 kB / 421.4 MB, free: 16.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.2816, allocations: 128.3 kB / 421.6 MB, free: 16.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2816, allocations: 25.7 kB / 421.6 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.2817, allocations: 132 kB / 421.7 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.2817, allocations: 104.2 kB / 421.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.2817, allocations: 0 / 421.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.2818, allocations: 330.7 kB / 422.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.2819, allocations: 59.31 kB / 422.2 MB, free: 16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.282, allocations: 89.31 kB / 422.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2821, allocations: 73.34 kB / 422.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2821, allocations: 0 / 422.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002751/0.2824, allocations: 206.2 kB / 422.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2824, allocations: 8.031 kB / 422.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2824, allocations: 4.547 kB / 422.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2824, allocations: 3.906 kB / 422.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.2828, allocations: 83.64 kB / 422.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2828, allocations: 3.984 kB / 422.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2829, allocations: 12 kB / 422.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.283, allocations: 11.94 kB / 422.7 MB, free: 15.6 MB / 314.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 5.146e-05/0.283, allocations: 108.9 kB / 422.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2831, allocations: 19.81 kB / 422.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.2831, allocations: 23.92 kB / 422.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2831, allocations: 4 kB / 422.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2831, allocations: 3.906 kB / 422.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2832, allocations: 0 / 422.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.2838, allocations: 0.5601 MB / 423.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2838, allocations: 0 / 423.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.2842, allocations: 83.45 kB / 423.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2842, allocations: 0 / 423.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2842, allocations: 10.97 kB / 423.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2842, allocations: 0 / 423.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2842, allocations: 4 kB / 423.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003679/0.2846, allocations: 411.5 kB / 423.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2846, allocations: 88.92 kB / 424 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2847, allocations: 0 / 424 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2849, allocations: 11.98 kB / 424 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2849, allocations: 19.64 kB / 424 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2849, allocations: 8 kB / 424 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.217e-05/0.285, allocations: 106.9 kB / 424.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.2853, allocations: 54.62 kB / 424.2 MB, free: 14.2 MB / 314.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 8.857e-05/0.2854, allocations: 103.2 kB / 424.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2856, allocations: 157 kB / 424.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2857, allocations: 1.5 kB / 424.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.2858, allocations: 90.42 kB / 424.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.2861, allocations: 28.78 kB / 424.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2871, allocations: 0.6576 MB / 425.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.2873, allocations: 0.7835 MB / 426 MB, free: 12.44 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2874, allocations: 0 / 426 MB, free: 12.44 MB / 314.7 MB Notification: Performance of Templates: time 0.004538/0.2919, allocations: 2.13 MB / 428.1 MB, free: 10.36 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)