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.6336/0.6336, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001651/0.001652, allocations: 150.6 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03783/0.1997, allocations: 34.68 MB / 244.7 MB, free: 15.16 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.1999, allocations: 74.47 kB / 244.8 MB, free: 15.09 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009363/0.2093, allocations: 3.556 MB / 248.4 MB, free: 11.55 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2094, allocations: 0 / 248.4 MB, free: 11.55 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2094, allocations: 4 kB / 248.4 MB, free: 11.55 MB / 186.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.0006122/0.21, allocations: 486.3 kB / 248.8 MB, free: 11.03 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.21, allocations: 12.03 kB / 248.8 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.2101, allocations: 27.5 kB / 248.9 MB, free: 10.99 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2103, allocations: 223.2 kB / 249.1 MB, free: 10.73 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2104, allocations: 12.44 kB / 249.1 MB, free: 10.72 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.2104, allocations: 20 kB / 249.1 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.2108, allocations: 207.2 kB / 249.3 MB, free: 10.49 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2109, allocations: 7.906 kB / 249.3 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2109, allocations: 11.19 kB / 249.3 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2109, allocations: 7.953 kB / 249.3 MB, free: 10.47 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.2112, allocations: 157.7 kB / 249.5 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.2121, allocations: 0.6114 MB / 250.1 MB, free: 9.656 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.2125, allocations: 188.9 kB / 250.3 MB, free: 9.465 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2125, allocations: 192 / 250.3 MB, free: 9.465 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2125, allocations: 43.41 kB / 250.3 MB, free: 9.414 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 9.62e-07/0.2125, allocations: 0 / 250.3 MB, free: 9.414 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001515/0.214, allocations: 0.912 MB / 251.3 MB, free: 8.41 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2141, allocations: 55.41 kB / 251.3 MB, free: 8.344 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2142, allocations: 141.6 kB / 251.4 MB, free: 8.199 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2142, allocations: 25.7 kB / 251.5 MB, free: 8.168 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2143, allocations: 136.3 kB / 251.6 MB, free: 8.031 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.2144, allocations: 94.64 kB / 251.7 MB, free: 7.938 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.2144, allocations: 4 kB / 251.7 MB, free: 7.934 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2145, allocations: 326.8 kB / 252 MB, free: 7.605 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2147, allocations: 75.95 kB / 252.1 MB, free: 7.531 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2148, allocations: 107.4 kB / 252.2 MB, free: 7.414 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.215, allocations: 88.8 kB / 252.3 MB, free: 7.328 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.215, allocations: 3.953 kB / 252.3 MB, free: 7.324 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004293/0.2155, allocations: 253.3 kB / 252.5 MB, free: 7.07 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2155, allocations: 4 kB / 252.5 MB, free: 7.066 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2155, allocations: 0 / 252.5 MB, free: 7.066 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2155, allocations: 7.984 kB / 252.5 MB, free: 7.059 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.2158, allocations: 67.91 kB / 252.6 MB, free: 6.992 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2158, allocations: 0 / 252.6 MB, free: 6.992 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2159, allocations: 15.98 kB / 252.6 MB, free: 6.977 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.216, allocations: 17.62 kB / 252.6 MB, free: 6.961 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 () * Number of clocked 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.0001239/0.2161, allocations: 136.7 kB / 252.8 MB, free: 6.82 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.2161, allocations: 19.77 kB / 252.8 MB, free: 6.801 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.2162, allocations: 25.17 kB / 252.8 MB, free: 6.777 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2162, allocations: 0 / 252.8 MB, free: 6.777 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2162, allocations: 4 kB / 252.8 MB, free: 6.773 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2162, allocations: 0 / 252.8 MB, free: 6.773 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.2171, allocations: 0.6402 MB / 253.5 MB, free: 6.062 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2171, allocations: 3.984 kB / 253.5 MB, free: 6.059 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.2174, allocations: 71.97 kB / 253.5 MB, free: 5.988 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.2174, allocations: 4 kB / 253.5 MB, free: 5.984 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2175, allocations: 0 / 253.5 MB, free: 5.984 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2175, allocations: 4 kB / 253.6 MB, free: 5.98 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2175, allocations: 0 / 253.6 MB, free: 5.98 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.2181, allocations: 449.5 kB / 254 MB, free: 5.508 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.2182, allocations: 88.92 kB / 254.1 MB, free: 5.402 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.2182, allocations: 21.91 kB / 254.1 MB, free: 5.383 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2184, allocations: 18.2 kB / 254.1 MB, free: 5.367 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2184, allocations: 15.97 kB / 254.1 MB, free: 5.352 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2184, allocations: 4 kB / 254.1 MB, free: 5.348 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.2185, allocations: 116.4 kB / 254.2 MB, free: 5.234 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2185, allocations: 3.938 kB / 254.3 MB, free: 5.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.2188, allocations: 56 kB / 254.3 MB, free: 5.176 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 () * Number of clocked 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.000114/0.219, allocations: 107.2 kB / 254.4 MB, free: 5.062 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.2194, allocations: 184.6 kB / 254.6 MB, free: 4.883 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2194, allocations: 192 / 254.6 MB, free: 4.883 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2196, allocations: 107.8 kB / 254.7 MB, free: 4.777 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2199, allocations: 31.97 kB / 254.7 MB, free: 4.746 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2212, allocations: 0.922 MB / 255.7 MB, free: 3.797 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2215, allocations: 0.7482 MB / 256.4 MB, free: 3.023 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.2216, allocations: 21.94 kB / 256.4 MB, free: 3.004 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2217, allocations: 21.78 kB / 256.4 MB, free: 2.984 MB / 186.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2217, allocations: 0 / 256.4 MB, free: 2.984 MB / 186.7 MB Notification: Performance of Templates: time 0.004014/0.2257, allocations: 1.727 MB / 258.2 MB, free: 1.277 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)