Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001008, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.173/1.173, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001577/0.001577, allocations: 111.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.07975, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.3084, allocations: 91 MB / 446.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3086, allocations: 93.89 kB / 446.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1684/0.477, allocations: 71.68 MB / 0.5057 GB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4771, allocations: 0 / 0.5057 GB, free: 9.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.4772, allocations: 71.98 kB / 0.5058 GB, free: 8.957 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008308/0.4855, allocations: 3.558 MB / 0.5092 GB, free: 5.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4856, allocations: 12.03 kB / 0.5093 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008927/0.4945, allocations: 2.082 MB / 0.5113 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1682/0.6628, allocations: 4.034 MB / 0.5152 GB, free: 86.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.663, allocations: 254.6 kB / 0.5155 GB, free: 86.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.6642, allocations: 346.7 kB / 0.5158 GB, free: 86.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.6767, allocations: 8.852 MB / 0.5244 GB, free: 83.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.6769, allocations: 57.38 kB / 0.5245 GB, free: 83.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.6773, allocations: 172.8 kB / 0.5247 GB, free: 83.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/0.6785, allocations: 0.8685 MB / 0.5255 GB, free: 83.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.6925, allocations: 7.159 MB / 0.5325 GB, free: 83.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03592/0.7285, allocations: 42.61 MB / 0.5741 GB, free: 53.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005776/0.7343, allocations: 3.173 MB / 0.5772 GB, free: 52.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/0.739, allocations: 4.08 MB / 0.5812 GB, free: 49.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.739, allocations: 46.28 kB / 0.5812 GB, free: 49.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 2.956e-06/0.739, allocations: 0 / 0.5812 GB, free: 49.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.02153/0.7605, allocations: 11.36 MB / 0.5923 GB, free: 45.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.7606, allocations: 136.2 kB / 0.5925 GB, free: 45.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.7644, allocations: 3.313 MB / 0.5957 GB, free: 43.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.7646, allocations: 45.08 kB / 0.5957 GB, free: 43.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.7657, allocations: 2.728 MB / 0.5984 GB, free: 41.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.766, allocations: 0.496 MB / 0.5989 GB, free: 41.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7662, allocations: 102.2 kB / 0.599 GB, free: 41.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.7664, allocations: 0.5312 MB / 0.5995 GB, free: 40.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.7682, allocations: 1.662 MB / 0.6011 GB, free: 40.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.771, allocations: 5.064 MB / 0.6061 GB, free: 35.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.7739, allocations: 2.85 MB / 0.6089 GB, free: 33.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/0.7739, allocations: 35.62 kB / 0.6089 GB, free: 33.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.007747/0.7817, allocations: 6.607 MB / 0.6153 GB, free: 31.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.7817, allocations: 56 kB / 0.6154 GB, free: 31.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-05/0.7818, allocations: 128 kB / 0.6155 GB, free: 31.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.7823, allocations: 347.9 kB / 0.6159 GB, free: 30.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.7855, allocations: 1.266 MB / 0.6171 GB, free: 29.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.7874, allocations: 2.386 MB / 0.6194 GB, free: 27.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/0.791, allocations: 279 kB / 0.6197 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/0.7914, allocations: 334.8 kB / 0.62 GB, free: 26.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002216/0.7937, allocations: 1.771 MB / 0.6217 GB, free: 25.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.7941, allocations: 310.9 kB / 0.622 GB, free: 25.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.7978, allocations: 2.325 MB / 0.6243 GB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.7978, allocations: 16 kB / 0.6243 GB, free: 23.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.7978, allocations: 4 kB / 0.6243 GB, free: 23.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.7979, allocations: 7.781 kB / 0.6243 GB, free: 23.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/0.8068, allocations: 5.836 MB / 0.63 GB, free: 18.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8068, allocations: 0 / 0.63 GB, free: 18.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.8075, allocations: 172.2 kB / 0.6302 GB, free: 18.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.8094, allocations: 0.7075 MB / 0.6309 GB, free: 17.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.8095, allocations: 23.89 kB / 0.6309 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.814, allocations: 4.562 MB / 0.6354 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.814, allocations: 3.953 kB / 0.6354 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.8194, allocations: 4.38 MB / 0.6396 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.8206, allocations: 0.5366 MB / 0.6402 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.8209, allocations: 20.06 kB / 0.6402 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.8218, allocations: 62.03 kB / 0.6402 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.822, allocations: 67.47 kB / 0.6403 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.8221, allocations: 36.7 kB / 0.6403 GB, free: 9.441 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002659/0.8247, allocations: 2.304 MB / 0.6426 GB, free: 7.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8247, allocations: 0 / 0.6426 GB, free: 7.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003132/0.8279, allocations: 0.8132 MB / 0.6434 GB, free: 6.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.8282, allocations: 153.7 kB / 0.6435 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.8326, allocations: 3.951 MB / 0.6474 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8327, allocations: 0 / 0.6474 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.8337, allocations: 1.082 MB / 0.6484 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.8351, allocations: 364.2 kB / 0.6488 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.846, allocations: 8.446 MB / 0.657 GB, free: 9.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.8488, allocations: 2.829 MB / 0.6598 GB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003909/0.8527, allocations: 1.644 MB / 0.6614 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000679/0.8534, allocations: 207.4 kB / 0.6616 GB, free: 5.215 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/0.8534, allocations: 0 / 0.6616 GB, free: 5.215 MB / 410.7 MB Notification: Performance of Templates: time 0.1932/1.047, allocations: 28.66 MB / 0.6896 GB, free: 87.39 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)