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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001347/0.001348, allocations: 52.39 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.231, allocations: 46.64 MB / 325.3 MB, free: 1.977 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01252/0.2436, allocations: 12.03 MB / 337.4 MB, free: 7.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008711/0.2523, allocations: 4.193 MB / 341.5 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.2546, allocations: 67.81 kB / 341.6 MB, free: 3.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.2595, allocations: 2.756 MB / 344.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.2643, allocations: 1.968 MB / 346.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.2661, allocations: 0.815 MB / 347.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.272, allocations: 4.636 MB / 351.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.2761, allocations: 3.557 MB / 355.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.2788, allocations: 1.698 MB / 357 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.2817, allocations: 2.336 MB / 359.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.2824, allocations: 352 kB / 359.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.2848, allocations: 1.283 MB / 361 MB, free: 212 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.2867, allocations: 2.108 MB / 363.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.2894, allocations: 2.427 MB / 365.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008602/0.298, allocations: 7.262 MB / 372.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2981, allocations: 0 / 372.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2981, allocations: 3.938 kB / 372.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002733/0.2984, allocations: 0 / 372.8 MB, free: 4.363 MB / 302.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.01365/0.312, allocations: 5.285 MB / 378.1 MB, free: 15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3121, allocations: 8.031 kB / 378.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008249/0.3204, allocations: 2.116 MB / 380.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/0.3252, allocations: 2.594 MB / 382.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3254, allocations: 270.9 kB / 383.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008966/0.3263, allocations: 427.6 kB / 383.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.3491, allocations: 12.22 MB / 395.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.3493, allocations: 51.47 kB / 395.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/0.3498, allocations: 171.8 kB / 395.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.353, allocations: 2.158 MB / 398.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/0.3765, allocations: 10.2 MB / 408.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/0.4319, allocations: 44.34 MB / 452.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2269/0.6588, allocations: 4.59 MB / 457.2 MB, free: 110 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.6622, allocations: 1.719 MB / 458.9 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.6756, allocations: 8.232 MB / 467.2 MB, free: 105.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6757, allocations: 55.53 kB / 467.2 MB, free: 105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 5.2e-06/0.6757, allocations: 0 / 467.2 MB, free: 105 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03774/0.7135, allocations: 15.97 MB / 483.2 MB, free: 94.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001061/0.7146, allocations: 1.687 MB / 484.9 MB, free: 92.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/0.7193, allocations: 4.223 MB / 489.1 MB, free: 88.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005045/0.7198, allocations: 53.64 kB / 489.2 MB, free: 88.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.7214, allocations: 3.404 MB / 492.6 MB, free: 84.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006355/0.722, allocations: 0.8024 MB / 493.4 MB, free: 84.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.7233, allocations: 1.36 MB / 494.7 MB, free: 82.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.7234, allocations: 301.1 kB / 495 MB, free: 82.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.7261, allocations: 2.262 MB / 497.3 MB, free: 80.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0041/0.7302, allocations: 6.397 MB / 0.4919 GB, free: 71.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/0.7391, allocations: 9.325 MB / 0.501 GB, free: 60.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/0.7392, allocations: 40 kB / 0.501 GB, free: 60.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0211/0.7604, allocations: 10.07 MB / 0.5108 GB, free: 50.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.7605, allocations: 68.06 kB / 0.5109 GB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01015/0.7706, allocations: 3.793 MB / 0.5146 GB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009994/0.7807, allocations: 2.172 MB / 0.5167 GB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/0.7856, allocations: 1.583 MB / 0.5183 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/0.7931, allocations: 6.6 MB / 0.5247 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/0.7989, allocations: 435.4 kB / 0.5251 GB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.8001, allocations: 416 kB / 0.5255 GB, free: 34.81 MB / 382.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.003348/0.8034, allocations: 2.219 MB / 0.5277 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006354/0.8041, allocations: 375.2 kB / 0.5281 GB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/0.8096, allocations: 3.281 MB / 0.5313 GB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004615/0.8143, allocations: 2.749 MB / 0.534 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/0.8143, allocations: 4 kB / 0.534 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.8144, allocations: 7.969 kB / 0.534 GB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.8304, allocations: 10.35 MB / 0.5441 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.8305, allocations: 15.98 kB / 0.5441 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.8319, allocations: 367.5 kB / 0.5444 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.8347, allocations: 0.9947 MB / 0.5454 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.8348, allocations: 59.97 kB / 0.5455 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.8388, allocations: 4.903 MB / 0.5503 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007914/0.8396, allocations: 1.557 MB / 0.5518 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007984/0.8476, allocations: 5.92 MB / 0.5576 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.8491, allocations: 0.66 MB / 0.5582 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.8496, allocations: 55.98 kB / 0.5583 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.8512, allocations: 139.8 kB / 0.5584 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.8515, allocations: 180.4 kB / 0.5586 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.8517, allocations: 75.97 kB / 0.5586 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004007/0.8557, allocations: 2.605 MB / 0.5612 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8557, allocations: 0 / 0.5612 GB, free: 13.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005297/0.861, allocations: 1.165 MB / 0.5623 GB, free: 12.19 MB / 398.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.0005024/0.8616, allocations: 228.8 kB / 0.5625 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01201/0.8736, allocations: 6.667 MB / 0.569 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.8736, allocations: 4 kB / 0.569 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004161/0.8778, allocations: 2.196 MB / 0.5712 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.8811, allocations: 0.4975 MB / 0.5717 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.8995, allocations: 10.76 MB / 0.5822 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004039/0.9036, allocations: 3.455 MB / 0.5856 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004869/0.9085, allocations: 2.022 MB / 0.5875 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/0.9092, allocations: 279.4 kB / 0.5878 GB, free: 1.758 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9092, allocations: 0 / 0.5878 GB, free: 1.758 MB / 414.1 MB Notification: Performance of Templates: time 0.2763/1.186, allocations: 42.17 MB / 0.629 GB, free: 125.4 MB / 430.1 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)