Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7527/0.7527, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001701/0.001701, allocations: 151.4 kB / 144 MB, free: 9.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.51e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06224/0.06228, allocations: 25.17 MB / 199 MB, free: 2.656 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.2174, allocations: 33.92 MB / 233 MB, free: 6.047 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.2177, allocations: 61.14 kB / 233 MB, free: 5.988 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.2292, allocations: 3.518 MB / 236.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2293, allocations: 0 / 236.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.2293, allocations: 8.5 kB / 236.5 MB, free: 2.52 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006435/0.23, allocations: 470.2 kB / 237 MB, free: 2.016 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.23, allocations: 8.031 kB / 237 MB, free: 2.008 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.2301, allocations: 27.5 kB / 237 MB, free: 1.984 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2303, allocations: 217 kB / 237.2 MB, free: 1.734 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2304, allocations: 8 kB / 237.3 MB, free: 1.727 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.2304, allocations: 25.97 kB / 237.3 MB, free: 1.703 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002909/0.2307, allocations: 112.8 kB / 237.4 MB, free: 1.594 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.2311, allocations: 150.5 kB / 237.5 MB, free: 1.441 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2311, allocations: 0 / 237.5 MB, free: 1.441 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2311, allocations: 3.953 kB / 237.5 MB, free: 1.438 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2311, allocations: 4 kB / 237.5 MB, free: 1.434 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.2321, allocations: 0.551 MB / 238.1 MB, free: 0.8477 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.2324, allocations: 160.8 kB / 238.2 MB, free: 0.6836 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2326, allocations: 89.17 kB / 238.3 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2326, allocations: 4.188 kB / 238.3 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2327, allocations: 30.75 kB / 238.4 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.895e-06/0.2327, allocations: 1.453 kB / 238.4 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001251/0.2339, allocations: 0.7114 MB / 239.1 MB, free: 15.75 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.234, allocations: 59.41 kB / 239.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2342, allocations: 125.7 kB / 239.3 MB, free: 15.55 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2342, allocations: 25.7 kB / 239.3 MB, free: 15.52 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2343, allocations: 137.4 kB / 239.4 MB, free: 15.38 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.2344, allocations: 82.75 kB / 239.5 MB, free: 15.3 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.2345, allocations: 0 / 239.5 MB, free: 15.3 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2346, allocations: 326.8 kB / 239.8 MB, free: 14.97 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2348, allocations: 48 kB / 239.9 MB, free: 14.93 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.2349, allocations: 87.42 kB / 240 MB, free: 14.83 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2351, allocations: 59.91 kB / 240 MB, free: 14.77 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2351, allocations: 0 / 240 MB, free: 14.77 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004239/0.2356, allocations: 189.3 kB / 240.2 MB, free: 14.58 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2356, allocations: 4 kB / 240.2 MB, free: 14.57 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2356, allocations: 0 / 240.2 MB, free: 14.57 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2356, allocations: 13.86 kB / 240.2 MB, free: 14.56 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.236, allocations: 67.91 kB / 240.3 MB, free: 14.5 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2361, allocations: 0 / 240.3 MB, free: 14.5 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2362, allocations: 15.98 kB / 240.3 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2363, allocations: 5.438 kB / 240.3 MB, free: 14.48 MB / 186.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 (31): * Single equations (assignments): 31 * 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.0001116/0.2364, allocations: 108.9 kB / 240.4 MB, free: 14.36 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.2365, allocations: 24.31 kB / 240.4 MB, free: 14.34 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.2365, allocations: 16.75 kB / 240.4 MB, free: 14.33 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2366, allocations: 7.984 kB / 240.5 MB, free: 14.32 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2366, allocations: 3.984 kB / 240.5 MB, free: 14.32 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2366, allocations: 0 / 240.5 MB, free: 14.32 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009617/0.2376, allocations: 0.5465 MB / 241 MB, free: 13.71 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2376, allocations: 8.047 kB / 241 MB, free: 13.71 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.238, allocations: 71.84 kB / 241.1 MB, free: 13.64 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2381, allocations: 4 kB / 241.1 MB, free: 13.63 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.2381, allocations: 0 / 241.1 MB, free: 13.63 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.2381, allocations: 4.688 kB / 241.1 MB, free: 13.63 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2381, allocations: 0 / 241.1 MB, free: 13.63 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.2388, allocations: 376.5 kB / 241.5 MB, free: 13.23 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.2389, allocations: 90.05 kB / 241.6 MB, free: 13.12 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.2389, allocations: 4 kB / 241.6 MB, free: 13.12 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2391, allocations: 6.625 kB / 241.6 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.2392, allocations: 23.98 kB / 241.6 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2392, allocations: 12 kB / 241.6 MB, free: 13.08 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2394, allocations: 100.2 kB / 241.7 MB, free: 12.98 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2394, allocations: 0 / 241.7 MB, free: 12.98 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.2398, allocations: 44 kB / 241.7 MB, free: 12.94 MB / 186.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 (24): * Single equations (assignments): 24 * 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.0002196/0.2401, allocations: 100 kB / 241.8 MB, free: 12.83 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2405, allocations: 139.9 kB / 242 MB, free: 12.69 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2405, allocations: 0 / 242 MB, free: 12.69 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.2407, allocations: 80.06 kB / 242 MB, free: 12.61 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.2412, allocations: 30.31 kB / 242.1 MB, free: 12.59 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.2431, allocations: 0.6422 MB / 242.7 MB, free: 11.93 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2436, allocations: 0.748 MB / 243.5 MB, free: 11.16 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2437, allocations: 17.84 kB / 243.5 MB, free: 11.14 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.2438, allocations: 19.44 kB / 243.5 MB, free: 11.12 MB / 186.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2438, allocations: 0 / 243.5 MB, free: 11.12 MB / 186.7 MB Notification: Performance of Templates: time 0.005805/0.2496, allocations: 1.628 MB / 245.1 MB, free: 9.531 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)