Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001096/0.001096, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001171/0.001171, allocations: 199 kB / 18 MB, free: 5.168 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001357/0.001357, allocations: 55.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09381, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.221/0.3149, allocations: 12.03 MB / 386.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009337/0.3243, allocations: 4.197 MB / 390.7 MB, free: 4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.327, allocations: 73.03 kB / 390.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005176/0.3322, allocations: 2.749 MB / 393.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.3381, allocations: 1.983 MB / 395.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.3403, allocations: 0.8046 MB / 396.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008459/0.3488, allocations: 4.625 MB / 401 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005131/0.354, allocations: 3.559 MB / 404.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.3578, allocations: 1.697 MB / 406.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.3625, allocations: 2.349 MB / 408.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.3638, allocations: 352.7 kB / 408.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.3675, allocations: 1.273 MB / 410.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.3702, allocations: 2.127 MB / 412.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.3733, allocations: 2.43 MB / 414.7 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.3828, allocations: 7.536 MB / 422.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3829, allocations: 0 / 422.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3829, allocations: 4 kB / 422.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000237/0.3832, allocations: 0 / 422.3 MB, free: 15.62 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.01097/0.3941, allocations: 5.282 MB / 427.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3942, allocations: 12.03 kB / 427.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0083/0.4025, allocations: 2.108 MB / 429.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/0.4088, allocations: 2.634 MB / 432.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.409, allocations: 274.9 kB / 432.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.4101, allocations: 427.6 kB / 433 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.434, allocations: 12.22 MB / 445.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.4342, allocations: 51.52 kB / 445.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.4347, allocations: 175.8 kB / 445.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/0.4381, allocations: 2.166 MB / 447.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.4601, allocations: 10.2 MB / 457.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06003/0.5202, allocations: 44.13 MB / 0.4902 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.5321, allocations: 4.617 MB / 0.4947 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.5349, allocations: 1.718 MB / 0.4964 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/0.55, allocations: 8.224 MB / 0.5044 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5501, allocations: 55.81 kB / 0.5044 GB, free: 14.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.028e-06/0.5501, allocations: 3.938 kB / 0.5044 GB, free: 14.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04323/0.5933, allocations: 15.96 MB / 0.52 GB, free: 14.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001343/0.5947, allocations: 1.692 MB / 0.5217 GB, free: 12.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006766/0.6015, allocations: 4.215 MB / 0.5258 GB, free: 8.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.6019, allocations: 53.7 kB / 0.5258 GB, free: 8.211 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.6044, allocations: 3.408 MB / 0.5292 GB, free: 4.754 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.6055, allocations: 0.8062 MB / 0.53 GB, free: 3.938 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002493/0.608, allocations: 1.361 MB / 0.5313 GB, free: 2.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.6081, allocations: 301.1 kB / 0.5316 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.6117, allocations: 2.266 MB / 0.5338 GB, free: 0 / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006282/0.618, allocations: 6.394 MB / 0.54 GB, free: 7.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2477/0.8658, allocations: 9.327 MB / 0.5491 GB, free: 140.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/0.866, allocations: 41.97 kB / 0.5492 GB, free: 140.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02562/0.8916, allocations: 10.06 MB / 0.559 GB, free: 138.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.8918, allocations: 71.91 kB / 0.5591 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01188/0.9037, allocations: 3.78 MB / 0.5628 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.9145, allocations: 2.17 MB / 0.5649 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/0.9204, allocations: 1.586 MB / 0.5664 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009112/0.9296, allocations: 6.588 MB / 0.5729 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/0.9355, allocations: 432.3 kB / 0.5733 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/0.9367, allocations: 417 kB / 0.5737 GB, free: 133.1 MB / 478.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.005182/0.9419, allocations: 2.22 MB / 0.5758 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009199/0.9428, allocations: 375.9 kB / 0.5762 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.9493, allocations: 3.293 MB / 0.5794 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004827/0.9541, allocations: 2.737 MB / 0.5821 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.9542, allocations: 3.875 kB / 0.5821 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.9542, allocations: 15.92 kB / 0.5821 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/0.976, allocations: 10.34 MB / 0.5922 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/0.9761, allocations: 18.78 kB / 0.5922 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.9776, allocations: 367.4 kB / 0.5926 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.9804, allocations: 0.9845 MB / 0.5935 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.9807, allocations: 63.98 kB / 0.5936 GB, free: 120.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.9852, allocations: 4.893 MB / 0.5984 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008884/0.9861, allocations: 1.559 MB / 0.5999 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008532/0.9947, allocations: 5.91 MB / 0.6057 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/0.9973, allocations: 0.66 MB / 0.6063 GB, free: 107.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/0.9985, allocations: 59.97 kB / 0.6064 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.001, allocations: 143.8 kB / 0.6065 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/1.002, allocations: 174.3 kB / 0.6067 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.002, allocations: 79.97 kB / 0.6068 GB, free: 107 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004992/1.007, allocations: 2.613 MB / 0.6093 GB, free: 104.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.007, allocations: 0 / 0.6093 GB, free: 104.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007527/1.014, allocations: 1.167 MB / 0.6104 GB, free: 103.2 MB / 478.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.0009174/1.015, allocations: 229.3 kB / 0.6107 GB, free: 103 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0106/1.026, allocations: 6.028 MB / 0.6165 GB, free: 96.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/1.026, allocations: 4 kB / 0.6166 GB, free: 96.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004001/1.03, allocations: 2.192 MB / 0.6187 GB, free: 94.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/1.035, allocations: 0.493 MB / 0.6192 GB, free: 94.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.054, allocations: 10.65 MB / 0.6296 GB, free: 83.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005987/1.06, allocations: 3.463 MB / 0.633 GB, free: 79.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005208/1.065, allocations: 2.024 MB / 0.6349 GB, free: 77.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.067, allocations: 279.4 kB / 0.6352 GB, free: 77.59 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/1.067, allocations: 0 / 0.6352 GB, free: 77.59 MB / 478.1 MB Notification: Performance of Templates: time 0.06652/1.133, allocations: 38.4 MB / 0.6727 GB, free: 39.32 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)