Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7001/0.7001, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001657/0.001657, allocations: 147.2 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 11.98 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 25.15 MB / 210.1 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05701/0.1859, allocations: 49.31 MB / 259.4 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.1862, allocations: 79.95 kB / 259.4 MB, free: 428 kB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.696/0.8822, allocations: 200.2 MB / 459.6 MB, free: 14.24 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.8822, allocations: 0 / 459.6 MB, free: 14.24 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.8825, allocations: 120 kB / 459.8 MB, free: 14.12 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2292 * Number of variables: 2292 Notification: Performance of Generate backend data structure: time 0.03454/0.917, allocations: 8.866 MB / 468.6 MB, free: 5.176 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.9171, allocations: 8.031 kB / 468.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2487/1.166, allocations: 26.81 MB / 495.4 MB, free: 35.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/1.185, allocations: 7.719 MB / 0.4914 GB, free: 35.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/1.186, allocations: 494 kB / 0.4918 GB, free: 35.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00453/1.19, allocations: 0.6182 MB / 0.4925 GB, free: 35.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09875/1.289, allocations: 33.97 MB / 0.5256 GB, free: 31.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/1.289, allocations: 42.7 kB / 0.5257 GB, free: 31.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003876/1.293, allocations: 285.5 kB / 0.5259 GB, free: 31.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04308/1.336, allocations: 10.85 MB / 0.5365 GB, free: 29.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09642/1.433, allocations: 36.01 MB / 0.5717 GB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7511/2.184, allocations: 141.5 MB / 0.7099 GB, free: 21.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03293/2.217, allocations: 11.3 MB / 0.7209 GB, free: 20.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1211/2.338, allocations: 34.29 MB / 0.7544 GB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/2.338, allocations: 69.7 kB / 0.7545 GB, free: 8.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=260): time 6.032e-06/2.338, allocations: 0 / 0.7545 GB, free: 8.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=283): time 0.1222/2.46, allocations: 38.12 MB / 0.7917 GB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001362/2.462, allocations: 1.62 MB / 0.7933 GB, free: 3.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1307/2.592, allocations: 5.08 MB / 0.7983 GB, free: 75.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/2.594, allocations: 68.5 kB / 0.7983 GB, free: 75.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003324/2.597, allocations: 4.426 MB / 0.8026 GB, free: 73.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/2.599, allocations: 1.09 MB / 0.8037 GB, free: 72.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/2.599, allocations: 176.9 kB / 0.8039 GB, free: 72.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004273/2.6, allocations: 0.6805 MB / 0.8045 GB, free: 72.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02393/2.624, allocations: 8.059 MB / 0.8124 GB, free: 72.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02761/2.651, allocations: 13.36 MB / 0.8255 GB, free: 65.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02201/2.674, allocations: 8.476 MB / 0.8337 GB, free: 65.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/2.674, allocations: 52.16 kB / 0.8338 GB, free: 65.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.05263/2.726, allocations: 20.63 MB / 0.8539 GB, free: 62.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/2.727, allocations: 83.38 kB / 0.854 GB, free: 62.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01691/2.743, allocations: 5.866 MB / 0.8597 GB, free: 60.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/2.746, allocations: 1.046 MB / 0.8608 GB, free: 60.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007098/2.753, allocations: 2.204 MB / 0.8629 GB, free: 60.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/2.756, allocations: 4.136 MB / 0.867 GB, free: 56.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/2.772, allocations: 2.331 MB / 0.8692 GB, free: 55.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002574/2.774, allocations: 0.7867 MB / 0.87 GB, free: 54.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 858 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1105): * Single equations (assignments): 1083 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008039/2.782, allocations: 2.858 MB / 0.8728 GB, free: 52.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/2.784, allocations: 469.8 kB / 0.8732 GB, free: 51.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/2.805, allocations: 6.956 MB / 0.88 GB, free: 46.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0333/2.838, allocations: 9.507 MB / 0.8893 GB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/2.838, allocations: 4 kB / 0.8893 GB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.167e-05/2.838, allocations: 19.91 kB / 0.8893 GB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2321/3.07, allocations: 26.24 MB / 0.915 GB, free: 65.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/3.07, allocations: 13.12 kB / 0.915 GB, free: 65.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/3.073, allocations: 491.7 kB / 0.9154 GB, free: 65.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/3.075, allocations: 0.9667 MB / 0.9164 GB, free: 65.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009258/3.076, allocations: 176.1 kB / 0.9165 GB, free: 65.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/3.08, allocations: 4.687 MB / 0.9211 GB, free: 63.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007744/3.081, allocations: 1.48 MB / 0.9226 GB, free: 61.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06449/3.146, allocations: 23.06 MB / 0.9451 GB, free: 58.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/3.15, allocations: 1.238 MB / 0.9463 GB, free: 58.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/3.151, allocations: 72.34 kB / 0.9464 GB, free: 58.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/3.161, allocations: 1.789 MB / 0.9481 GB, free: 58.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005679/3.162, allocations: 198.6 kB / 0.9483 GB, free: 58.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005244/3.162, allocations: 323 kB / 0.9486 GB, free: 58.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.006145/3.168, allocations: 3.537 MB / 0.9521 GB, free: 58.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.12e-07/3.168, allocations: 6.266 kB / 0.9521 GB, free: 58.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.008972/3.177, allocations: 1.601 MB / 0.9536 GB, free: 58.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (234): * Single equations (assignments): 214 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008908/3.178, allocations: 236.2 kB / 0.9539 GB, free: 58.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.05007/3.228, allocations: 17.38 MB / 0.9708 GB, free: 56.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/3.228, allocations: 1.562 kB / 0.9708 GB, free: 56.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02252/3.251, allocations: 7.461 MB / 0.9781 GB, free: 51.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/3.254, allocations: 477.4 kB / 0.9786 GB, free: 51.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04088/3.295, allocations: 20.95 MB / 0.999 GB, free: 31.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004942/3.3, allocations: 4.522 MB / 1.003 GB, free: 26.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01106/3.311, allocations: 3.338 MB / 1.007 GB, free: 23.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/3.314, allocations: 0.776 MB / 1.007 GB, free: 22.45 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/3.314, allocations: 0 / 1.007 GB, free: 22.45 MB / 298.7 MB Notification: Performance of Templates: time 0.2557/3.57, allocations: 72.87 MB / 1.079 GB, free: 48.91 MB / 298.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)