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.001077/0.001077, allocations: 113.1 kB / 16.63 MB, free: 6.797 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.0009464/0.0009464, allocations: 186 kB / 17.55 MB, free: 5.953 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.357/1.357, allocations: 205.1 MB / 223.4 MB, free: 12.51 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.001273/0.001273, allocations: 51.92 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 46.63 MB / 326.1 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04505/0.1505, allocations: 46.98 MB / 373.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2386/0.3891, allocations: 9.862 MB / 383 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.4001, allocations: 202.1 kB / 383.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005616/0.4057, allocations: 2.636 MB / 385.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.4112, allocations: 1.835 MB / 387.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.4132, allocations: 0.7643 MB / 388.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007312/0.4205, allocations: 4.649 MB / 393.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005209/0.4257, allocations: 3.767 MB / 396.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.4292, allocations: 1.727 MB / 398.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.433, allocations: 2.594 MB / 401.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008007/0.4338, allocations: 355.1 kB / 401.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.4363, allocations: 1.28 MB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.4383, allocations: 2.144 MB / 404.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002727/0.441, allocations: 2.451 MB / 407.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008011/0.449, allocations: 7.326 MB / 414.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4491, allocations: 0 / 414.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4491, allocations: 0 / 414.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002757/0.4494, allocations: 4 kB / 414.7 MB, free: 14.21 MB / 334.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.01364/0.463, allocations: 5.272 MB / 420 MB, free: 9.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4631, allocations: 8.031 kB / 420 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/0.4711, allocations: 2.122 MB / 422.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/0.4766, allocations: 2.583 MB / 424.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.4768, allocations: 277.8 kB / 425 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.478, allocations: 436.2 kB / 425.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.5022, allocations: 12.21 MB / 437.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.5024, allocations: 56.64 kB / 437.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005221/0.5029, allocations: 172.2 kB / 437.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/0.506, allocations: 2.166 MB / 440 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.5272, allocations: 10.21 MB / 450.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/0.5823, allocations: 44.33 MB / 494.5 MB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.5933, allocations: 4.601 MB / 499.1 MB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.5958, allocations: 1.731 MB / 0.4891 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.6078, allocations: 8.217 MB / 0.4971 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6079, allocations: 59.81 kB / 0.4972 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 4.839e-06/0.608, allocations: 0 / 0.4972 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.04071/0.6487, allocations: 15.96 MB / 0.5128 GB, free: 13.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001381/0.6501, allocations: 1.688 MB / 0.5144 GB, free: 12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006137/0.6562, allocations: 4.223 MB / 0.5186 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004851/0.6568, allocations: 56.2 kB / 0.5186 GB, free: 7.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002362/0.6591, allocations: 3.409 MB / 0.5219 GB, free: 4.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.6603, allocations: 0.8017 MB / 0.5227 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.6621, allocations: 1.355 MB / 0.524 GB, free: 2.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.6622, allocations: 301.1 kB / 0.5243 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.6658, allocations: 2.27 MB / 0.5266 GB, free: 15.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006464/0.6722, allocations: 6.39 MB / 0.5328 GB, free: 7.129 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2131/0.8854, allocations: 9.32 MB / 0.5419 GB, free: 170.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001758/0.8856, allocations: 41.5 kB / 0.5419 GB, free: 170.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02629/0.9119, allocations: 10.06 MB / 0.5518 GB, free: 167.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.9121, allocations: 75.08 kB / 0.5518 GB, free: 167.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01074/0.9228, allocations: 3.787 MB / 0.5555 GB, free: 167.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.933, allocations: 2.165 MB / 0.5576 GB, free: 166.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/0.9382, allocations: 1.584 MB / 0.5592 GB, free: 166.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.946, allocations: 6.613 MB / 0.5657 GB, free: 163 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005914/0.952, allocations: 423.8 kB / 0.5661 GB, free: 162.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008395/0.9528, allocations: 418.7 kB / 0.5665 GB, free: 162.8 MB / 462.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.003502/0.9563, allocations: 2.221 MB / 0.5686 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.957, allocations: 371.2 kB / 0.569 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/0.9623, allocations: 3.287 MB / 0.5722 GB, free: 159.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004145/0.9664, allocations: 2.75 MB / 0.5749 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.9665, allocations: 3.688 kB / 0.5749 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.9665, allocations: 7.969 kB / 0.5749 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.9813, allocations: 10.33 MB / 0.585 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.9814, allocations: 16 kB / 0.585 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.9827, allocations: 372.2 kB / 0.5853 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.9853, allocations: 0.9857 MB / 0.5863 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.9854, allocations: 67.91 kB / 0.5864 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.9893, allocations: 4.896 MB / 0.5912 GB, free: 141.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00078/0.9901, allocations: 1.561 MB / 0.5927 GB, free: 139.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007491/0.9976, allocations: 5.916 MB / 0.5985 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.9994, allocations: 0.6561 MB / 0.5991 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.9999, allocations: 67.62 kB / 0.5992 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.001, allocations: 147.4 kB / 0.5993 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/1.002, allocations: 176.4 kB / 0.5995 GB, free: 132.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.002, allocations: 79.83 kB / 0.5995 GB, free: 132.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003316/1.005, allocations: 2.601 MB / 0.6021 GB, free: 130.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.005, allocations: 0 / 0.6021 GB, free: 130.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005896/1.011, allocations: 1.179 MB / 0.6032 GB, free: 129 MB / 462.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.0005062/1.012, allocations: 209.7 kB / 0.6034 GB, free: 128.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.022, allocations: 6.673 MB / 0.61 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.022, allocations: 0 / 0.61 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003363/1.025, allocations: 2.204 MB / 0.6121 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/1.029, allocations: 0.4967 MB / 0.6126 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.046, allocations: 12.93 MB / 0.6252 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/1.049, allocations: 3.467 MB / 0.6286 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0046/1.054, allocations: 2.03 MB / 0.6306 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/1.055, allocations: 267.4 kB / 0.6308 GB, free: 100.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.643e-06/1.055, allocations: 0 / 0.6308 GB, free: 100.4 MB / 462.1 MB Notification: Performance of Templates: time 0.07021/1.125, allocations: 42.36 MB / 0.6722 GB, free: 58.04 MB / 462.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)