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") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.7298/0.7298, allocations: 110.8 MB / 118 MB, free: 14.68 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001829/0.001829, allocations: 148 kB / 143.7 MB, free: 5.016 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 0 / 173.5 MB, free: 23.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04958/0.0496, allocations: 25.17 MB / 198.6 MB, free: 13.97 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0479/0.09756, allocations: 33.85 MB / 232.5 MB, free: 12.06 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.09786, allocations: 63.97 kB / 232.5 MB, free: 12 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.009902/0.1078, allocations: 3.236 MB / 235.8 MB, free: 8.75 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1078, allocations: 4 kB / 235.8 MB, free: 8.746 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.000633/0.1085, allocations: 482.4 kB / 236.2 MB, free: 8.227 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1085, allocations: 16.03 kB / 236.3 MB, free: 8.211 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1086, allocations: 27.62 kB / 236.3 MB, free: 8.184 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1089, allocations: 215.3 kB / 236.5 MB, free: 7.93 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1089, allocations: 8 kB / 236.5 MB, free: 7.922 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.1089, allocations: 12.22 kB / 236.5 MB, free: 7.91 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002554/0.1092, allocations: 108.9 kB / 236.6 MB, free: 7.805 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1095, allocations: 154.3 kB / 236.8 MB, free: 7.648 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1095, allocations: 7.906 kB / 236.8 MB, free: 7.641 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1095, allocations: 0 / 236.8 MB, free: 7.641 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1096, allocations: 4 kB / 236.8 MB, free: 7.637 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1106, allocations: 0.5643 MB / 237.3 MB, free: 7.035 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1109, allocations: 94.09 kB / 237.4 MB, free: 6.938 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.111, allocations: 86.53 kB / 237.5 MB, free: 6.852 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1111, allocations: 192 / 237.5 MB, free: 6.852 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1111, allocations: 42.59 kB / 237.6 MB, free: 6.801 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1111, allocations: 0 / 237.6 MB, free: 6.801 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001146/0.1123, allocations: 0.709 MB / 238.3 MB, free: 6 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1123, allocations: 55.41 kB / 238.3 MB, free: 5.934 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1125, allocations: 125.7 kB / 238.4 MB, free: 5.801 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1125, allocations: 25.7 kB / 238.5 MB, free: 5.77 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.1126, allocations: 132.1 kB / 238.6 MB, free: 5.633 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.1126, allocations: 86.81 kB / 238.7 MB, free: 5.547 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.1127, allocations: 0 / 238.7 MB, free: 5.547 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1128, allocations: 330.7 kB / 239 MB, free: 5.215 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1129, allocations: 48 kB / 239.1 MB, free: 5.168 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.113, allocations: 79.42 kB / 239.1 MB, free: 5.078 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1132, allocations: 55.97 kB / 239.2 MB, free: 5.023 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1132, allocations: 8 kB / 239.2 MB, free: 5.016 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003022/0.1135, allocations: 181.4 kB / 239.4 MB, free: 4.832 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1135, allocations: 11.94 kB / 239.4 MB, free: 4.82 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1135, allocations: 0 / 239.4 MB, free: 4.82 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1135, allocations: 0 / 239.4 MB, free: 4.82 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.1139, allocations: 75.95 kB / 239.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1139, allocations: 12.02 kB / 239.5 MB, free: 4.734 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.114, allocations: 8 kB / 239.5 MB, free: 4.727 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.114, allocations: 8 kB / 239.5 MB, free: 4.719 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 8.478e-05/0.1141, allocations: 108.8 kB / 239.6 MB, free: 4.605 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.1142, allocations: 15.81 kB / 239.6 MB, free: 4.59 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.1142, allocations: 24.83 kB / 239.6 MB, free: 4.566 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1143, allocations: 11.94 kB / 239.6 MB, free: 4.555 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1143, allocations: 3.938 kB / 239.6 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1143, allocations: 0 / 239.6 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.115, allocations: 0.5462 MB / 240.2 MB, free: 3.949 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.115, allocations: 0 / 240.2 MB, free: 3.949 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.1154, allocations: 79.95 kB / 240.3 MB, free: 3.871 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1154, allocations: 0 / 240.3 MB, free: 3.871 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1154, allocations: 4 kB / 240.3 MB, free: 3.867 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1154, allocations: 0 / 240.3 MB, free: 3.867 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1154, allocations: 0 / 240.3 MB, free: 3.867 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004246/0.1159, allocations: 372.3 kB / 240.6 MB, free: 3.469 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.1159, allocations: 92.91 kB / 240.7 MB, free: 3.359 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.116, allocations: 7.938 kB / 240.7 MB, free: 3.352 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1161, allocations: 7.984 kB / 240.7 MB, free: 3.344 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1162, allocations: 23.97 kB / 240.8 MB, free: 3.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1162, allocations: 4 kB / 240.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.441e-05/0.1163, allocations: 100.2 kB / 240.9 MB, free: 3.219 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.1166, allocations: 43.91 kB / 240.9 MB, free: 3.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 () * 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.0001437/0.1167, allocations: 107.2 kB / 241 MB, free: 3.062 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.117, allocations: 139.8 kB / 241.2 MB, free: 2.926 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.117, allocations: 4 kB / 241.2 MB, free: 2.922 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1171, allocations: 84.05 kB / 241.2 MB, free: 2.84 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1175, allocations: 19.98 kB / 241.3 MB, free: 2.82 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1186, allocations: 0.6282 MB / 241.9 MB, free: 2.168 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.1191, allocations: 0.7744 MB / 242.7 MB, free: 1.367 MB / 186.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1191, allocations: 0 / 242.7 MB, free: 1.367 MB / 186.7 MB Notification: Performance of Templates: time 0.06826/0.1873, allocations: 1.924 MB / 244.6 MB, free: 67.03 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)