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.7743/0.7743, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001607/0.001607, allocations: 147.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.292e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05092/0.05096, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05193/0.1029, allocations: 34.58 MB / 240 MB, free: 5.797 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.1032, allocations: 63.97 kB / 240 MB, free: 5.734 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009919/0.1131, allocations: 3.557 MB / 243.6 MB, free: 2.164 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1132, allocations: 0 / 243.6 MB, free: 2.164 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.1132, allocations: 4 kB / 243.6 MB, free: 2.16 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.000706/0.1139, allocations: 478.2 kB / 244.1 MB, free: 1.645 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.114, allocations: 12.03 kB / 244.1 MB, free: 1.633 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1141, allocations: 27.72 kB / 244.1 MB, free: 1.605 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1144, allocations: 215.4 kB / 244.3 MB, free: 1.352 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1144, allocations: 12.66 kB / 244.3 MB, free: 1.34 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1145, allocations: 23.91 kB / 244.3 MB, free: 1.316 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.1148, allocations: 191.2 kB / 244.5 MB, free: 1.125 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1148, allocations: 4 kB / 244.5 MB, free: 1.121 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1149, allocations: 12 kB / 244.6 MB, free: 1.109 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1149, allocations: 7.953 kB / 244.6 MB, free: 1.102 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1151, allocations: 117.7 kB / 244.7 MB, free: 0.9883 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.1161, allocations: 0.6114 MB / 245.3 MB, free: 336 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.1165, allocations: 171 kB / 245.5 MB, free: 156 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1167, allocations: 81.23 kB / 245.5 MB, free: 72 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1167, allocations: 4.188 kB / 245.5 MB, free: 68 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1167, allocations: 42.73 kB / 245.6 MB, free: 16 kB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.1167, allocations: 0 / 245.6 MB, free: 16 kB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.1318/0.2485, allocations: 0.7641 MB / 246.3 MB, free: 41.04 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2486, allocations: 54.91 kB / 246.4 MB, free: 40.97 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2487, allocations: 133.5 kB / 246.5 MB, free: 40.88 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2488, allocations: 29.7 kB / 246.6 MB, free: 40.85 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.2489, allocations: 135.6 kB / 246.7 MB, free: 40.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.2489, allocations: 91.86 kB / 246.8 MB, free: 40.71 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.2489, allocations: 5 kB / 246.8 MB, free: 40.71 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.249, allocations: 328.6 kB / 247.1 MB, free: 40.39 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.2491, allocations: 53.44 kB / 247.2 MB, free: 40.39 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2493, allocations: 92.16 kB / 247.2 MB, free: 40.36 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2494, allocations: 72.95 kB / 247.3 MB, free: 40.36 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2494, allocations: 2.156 kB / 247.3 MB, free: 40.36 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003262/0.2498, allocations: 211.5 kB / 247.5 MB, free: 40.31 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2498, allocations: 5.219 kB / 247.5 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2498, allocations: 1.891 kB / 247.5 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2498, allocations: 2.375 kB / 247.5 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.2501, allocations: 77.12 kB / 247.6 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2502, allocations: 3 kB / 247.6 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2503, allocations: 13.89 kB / 247.6 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2503, allocations: 9.281 kB / 247.6 MB, free: 40.31 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 6.757e-05/0.2504, allocations: 115.1 kB / 247.7 MB, free: 40.21 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.2504, allocations: 17.48 kB / 247.8 MB, free: 40.2 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.2505, allocations: 27.19 kB / 247.8 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2505, allocations: 8.609 kB / 247.8 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2505, allocations: 0 / 247.8 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2505, allocations: 2.391 kB / 247.8 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.2514, allocations: 0.6031 MB / 248.4 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2514, allocations: 1.797 kB / 248.4 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.2517, allocations: 71 kB / 248.5 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2517, allocations: 3.906 kB / 248.5 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2517, allocations: 10.33 kB / 248.5 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2518, allocations: 1.594 kB / 248.5 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2518, allocations: 1.25 kB / 248.5 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.2522, allocations: 393.4 kB / 248.9 MB, free: 39.64 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2523, allocations: 90.89 kB / 249 MB, free: 39.54 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2523, allocations: 9.359 kB / 249 MB, free: 39.54 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2525, allocations: 11.61 kB / 249 MB, free: 39.54 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.2525, allocations: 20.41 kB / 249 MB, free: 39.54 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2526, allocations: 5.828 kB / 249 MB, free: 39.54 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.2526, allocations: 118.8 kB / 249.1 MB, free: 39.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2526, allocations: 4.953 kB / 249.1 MB, free: 39.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.2529, allocations: 53.34 kB / 249.2 MB, free: 39.46 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.0001256/0.2531, allocations: 111.4 kB / 249.3 MB, free: 39.36 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2534, allocations: 155 kB / 249.4 MB, free: 39.36 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2534, allocations: 0 / 249.4 MB, free: 39.36 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2535, allocations: 76.11 kB / 249.5 MB, free: 39.35 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2539, allocations: 32.62 kB / 249.5 MB, free: 39.35 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.255, allocations: 0.6562 MB / 250.2 MB, free: 38.97 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2552, allocations: 0.7489 MB / 251 MB, free: 38.27 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.2553, allocations: 19.86 kB / 251 MB, free: 38.27 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2553, allocations: 20.2 kB / 251 MB, free: 38.26 MB / 186.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2554, allocations: 0 / 251 MB, free: 38.26 MB / 186.7 MB Notification: Performance of Templates: time 0.004889/0.2602, allocations: 1.749 MB / 252.7 MB, free: 38.12 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)