Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008245/0.008245, allocations: 171.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3103, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04467/0.355, allocations: 45.73 MB / 372.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0282/0.3833, allocations: 9.897 MB / 382.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.3951, allocations: 199.5 kB / 382.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.3974, allocations: 469.6 kB / 383.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.4032, allocations: 1.849 MB / 385.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.4053, allocations: 0.7412 MB / 385.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008389/0.4137, allocations: 6.551 MB / 392.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006909/0.4207, allocations: 4.938 MB / 397.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.4233, allocations: 1.284 MB / 398.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.4269, allocations: 2.219 MB / 400.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006773/0.4276, allocations: 164 kB / 401.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.4299, allocations: 1.147 MB / 402.2 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.4318, allocations: 1.916 MB / 404.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.434, allocations: 2.202 MB / 406.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.4415, allocations: 6.999 MB / 413.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.4416, allocations: 4 kB / 413.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4416, allocations: 0 / 413.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.4418, allocations: 0 / 413.3 MB, free: 12.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.008998/0.4508, allocations: 4.342 MB / 417.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4509, allocations: 8.031 kB / 417.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008437/0.4593, allocations: 2.163 MB / 419.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.465, allocations: 2.591 MB / 422.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.4653, allocations: 274.8 kB / 422.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.4664, allocations: 427.6 kB / 423.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/0.4909, allocations: 12.25 MB / 435.4 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002805/0.4912, allocations: 47.53 kB / 435.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/0.4926, allocations: 171.8 kB / 435.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003742/0.4963, allocations: 2.162 MB / 437.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.5202, allocations: 10.24 MB / 448 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2562/0.7765, allocations: 44.31 MB / 492.3 MB, free: 79.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.7873, allocations: 4.615 MB / 496.9 MB, free: 76.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.7895, allocations: 1.727 MB / 498.6 MB, free: 76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.8, allocations: 8.231 MB / 0.495 GB, free: 68.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.8, allocations: 55.34 kB / 0.495 GB, free: 68.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 5.36e-06/0.8, allocations: 0 / 0.495 GB, free: 68.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.036/0.836, allocations: 15.97 MB / 0.5106 GB, free: 52.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001019/0.8371, allocations: 1.609 MB / 0.5122 GB, free: 50.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.8422, allocations: 4.211 MB / 0.5163 GB, free: 46.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/0.8427, allocations: 55.11 kB / 0.5164 GB, free: 46.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.8444, allocations: 3.401 MB / 0.5197 GB, free: 42.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007552/0.8451, allocations: 0.8131 MB / 0.5205 GB, free: 42.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/0.8457, allocations: 0.5832 MB / 0.521 GB, free: 41.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.8458, allocations: 301.1 kB / 0.5213 GB, free: 41.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.8487, allocations: 2.262 MB / 0.5235 GB, free: 39.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/0.8531, allocations: 6.398 MB / 0.5298 GB, free: 30.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008125/0.8612, allocations: 9.318 MB / 0.5389 GB, free: 19.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.654e-05/0.8614, allocations: 47.94 kB / 0.5389 GB, free: 19.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02271/0.8841, allocations: 10.05 MB / 0.5488 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.8843, allocations: 68 kB / 0.5488 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01098/0.8953, allocations: 3.793 MB / 0.5525 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.906, allocations: 2.168 MB / 0.5546 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005642/0.9117, allocations: 1.583 MB / 0.5562 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00929/0.921, allocations: 6.063 MB / 0.5621 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/0.9268, allocations: 439.2 kB / 0.5625 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/0.9282, allocations: 412 kB / 0.5629 GB, free: 10.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005686/0.9339, allocations: 2.212 MB / 0.5651 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009893/0.9349, allocations: 375.2 kB / 0.5654 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.942, allocations: 3.302 MB / 0.5687 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005449/0.9474, allocations: 2.741 MB / 0.5713 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/0.9475, allocations: 7.984 kB / 0.5713 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.9475, allocations: 7.969 kB / 0.5714 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/0.9678, allocations: 10.35 MB / 0.5815 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.9678, allocations: 12.97 kB / 0.5815 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.9694, allocations: 367.4 kB / 0.5818 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/0.9726, allocations: 0.9903 MB / 0.5828 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/0.9729, allocations: 67.91 kB / 0.5829 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.9782, allocations: 4.589 MB / 0.5873 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001173/0.9794, allocations: 1.478 MB / 0.5888 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009886/0.9893, allocations: 5.907 MB / 0.5945 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/0.9916, allocations: 0.66 MB / 0.5952 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005037/0.9921, allocations: 59.81 kB / 0.5953 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.9938, allocations: 151.7 kB / 0.5954 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/0.9941, allocations: 176.4 kB / 0.5956 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.9943, allocations: 75.98 kB / 0.5956 GB, free: 7.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004612/0.9989, allocations: 2.609 MB / 0.5982 GB, free: 5.203 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.9989, allocations: 0 / 0.5982 GB, free: 5.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006878/1.006, allocations: 1.165 MB / 0.5993 GB, free: 4.043 MB / 430.1 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007011/1.007, allocations: 219.7 kB / 0.5995 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2221/1.229, allocations: 5.954 MB / 0.6053 GB, free: 145.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/1.229, allocations: 6.094 kB / 0.6054 GB, free: 145.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004379/1.233, allocations: 2.189 MB / 0.6075 GB, free: 144.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/1.244, allocations: 484.3 kB / 0.608 GB, free: 144.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.264, allocations: 13.15 MB / 0.6208 GB, free: 137.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/1.267, allocations: 3.467 MB / 0.6242 GB, free: 136.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004867/1.272, allocations: 2.017 MB / 0.6261 GB, free: 136.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007701/1.273, allocations: 273.3 kB / 0.6264 GB, free: 136.1 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/1.273, allocations: 4 kB / 0.6264 GB, free: 136.1 MB / 430.1 MB Notification: Performance of Templates: time 0.07492/1.348, allocations: 40.26 MB / 0.6657 GB, free: 97.71 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)