Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001537/0.001537, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001635/0.001635, allocations: 109.2 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.686e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06084/0.06088, allocations: 38.77 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/0.3167, allocations: 78.75 MB / 379.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.317, allocations: 77.45 kB / 379.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1431/0.4602, allocations: 55.48 MB / 435.3 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4602, allocations: 0 / 435.3 MB, free: 4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.333e-05/0.4603, allocations: 44 kB / 435.3 MB, free: 3.957 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01008/0.4704, allocations: 2.896 MB / 438.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.593e-05/0.4705, allocations: 19.91 kB / 438.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009625/0.4802, allocations: 2.036 MB / 440.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009904/0.4901, allocations: 3.585 MB / 443.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.4903, allocations: 80 kB / 444 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.4914, allocations: 147.8 kB / 444.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006643/0.4981, allocations: 3.999 MB / 448.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009445/0.5076, allocations: 6.165 MB / 454.3 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.5077, allocations: 51.62 kB / 454.3 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.5081, allocations: 20 kB / 454.3 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/0.5091, allocations: 0.7033 MB / 455 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/0.7033, allocations: 30.99 MB / 486 MB, free: 68.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.7057, allocations: 1.974 MB / 488 MB, free: 67.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.7069, allocations: 0.9575 MB / 489 MB, free: 67.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/0.7077, allocations: 0.6555 MB / 489.6 MB, free: 67.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7078, allocations: 44.02 kB / 489.7 MB, free: 67.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.377e-06/0.7078, allocations: 2.938 kB / 489.7 MB, free: 67.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.01602/0.7238, allocations: 8.134 MB / 497.8 MB, free: 65.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7239, allocations: 143.6 kB / 497.9 MB, free: 64.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.7262, allocations: 2.114 MB / 0.4883 GB, free: 64.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.7263, allocations: 29.48 kB / 0.4884 GB, free: 64.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/0.7272, allocations: 2.093 MB / 0.4904 GB, free: 63.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.7275, allocations: 0.5009 MB / 0.4909 GB, free: 63.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.7277, allocations: 0 / 0.4909 GB, free: 63.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.7279, allocations: 0.5465 MB / 0.4914 GB, free: 62.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.7294, allocations: 1.515 MB / 0.4929 GB, free: 62.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.7319, allocations: 4.382 MB / 0.4972 GB, free: 59.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.7344, allocations: 2.576 MB / 0.4997 GB, free: 59.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.531e-05/0.7345, allocations: 32.59 kB / 0.4997 GB, free: 59.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.009496/0.744, allocations: 6.33 MB / 0.5059 GB, free: 57.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.744, allocations: 48.09 kB / 0.506 GB, free: 57.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004644/0.7487, allocations: 2.369 MB / 0.5083 GB, free: 56.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/0.7528, allocations: 1.399 MB / 0.5096 GB, free: 56.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.7561, allocations: 1.065 MB / 0.5107 GB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.763, allocations: 6.55 MB / 0.5171 GB, free: 52.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.7668, allocations: 287.8 kB / 0.5174 GB, free: 52.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008037/0.7676, allocations: 290.3 kB / 0.5176 GB, free: 52.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 553 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006562/0.7683, allocations: 361.7 kB / 0.518 GB, free: 52.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.7687, allocations: 209.8 kB / 0.5182 GB, free: 52.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.7744, allocations: 2.716 MB / 0.5208 GB, free: 51.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004956/0.7794, allocations: 2.413 MB / 0.5232 GB, free: 50.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.7794, allocations: 7.109 kB / 0.5232 GB, free: 50.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.7794, allocations: 3.703 kB / 0.5232 GB, free: 50.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.791, allocations: 6.636 MB / 0.5297 GB, free: 46.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.7911, allocations: 1.688 kB / 0.5297 GB, free: 46.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.7918, allocations: 177.1 kB / 0.5298 GB, free: 45.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004205/0.7961, allocations: 1.404 MB / 0.5312 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.7963, allocations: 19.36 kB / 0.5312 GB, free: 45.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007656/0.8039, allocations: 7.157 MB / 0.5382 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006461/0.8046, allocations: 1.395 MB / 0.5396 GB, free: 37.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/0.8118, allocations: 4.815 MB / 0.5443 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.8124, allocations: 281.7 kB / 0.5446 GB, free: 33.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.8127, allocations: 8 kB / 0.5446 GB, free: 33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8139, allocations: 116.6 kB / 0.5447 GB, free: 32.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.8141, allocations: 72.67 kB / 0.5447 GB, free: 32.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.8142, allocations: 31.86 kB / 0.5448 GB, free: 32.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001726/0.8159, allocations: 1.405 MB / 0.5462 GB, free: 31.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.816, allocations: 0 / 0.5462 GB, free: 31.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003325/0.8193, allocations: 0.6686 MB / 0.5468 GB, free: 30.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/0.8196, allocations: 153.2 kB / 0.5469 GB, free: 30.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005563/0.8252, allocations: 3.952 MB / 0.5508 GB, free: 27.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8252, allocations: 0 / 0.5508 GB, free: 27.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.8279, allocations: 1.675 MB / 0.5524 GB, free: 25.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.8292, allocations: 193.8 kB / 0.5526 GB, free: 25.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.8371, allocations: 5.4 MB / 0.5579 GB, free: 19.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/0.8389, allocations: 2.323 MB / 0.5602 GB, free: 17.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003154/0.8421, allocations: 1.475 MB / 0.5616 GB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.8424, allocations: 159.4 kB / 0.5618 GB, free: 15.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.8425, allocations: 0 / 0.5618 GB, free: 15.79 MB / 346.7 MB Notification: Performance of Templates: time 0.03769/0.8802, allocations: 23.45 MB / 0.5847 GB, free: 8.617 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)