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.001026/0.001026, allocations: 95 kB / 16.3 MB, free: 5.992 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.00126/0.00126, allocations: 184 kB / 17.2 MB, free: 5.914 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.445/1.445, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.0004885/0.0004886, allocations: 11.98 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04066/0.3077, allocations: 40.18 MB / 367.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.3336, allocations: 9.843 MB / 377.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009436/0.3431, allocations: 199.4 kB / 377.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00952/0.3526, allocations: 1.964 MB / 379.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02267/0.3753, allocations: 5.813 MB / 385.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.3799, allocations: 0.6865 MB / 386.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007122/0.3871, allocations: 2.629 MB / 389 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007033/0.3941, allocations: 4.485 MB / 393.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.3967, allocations: 1.156 MB / 394.7 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.4, allocations: 1.573 MB / 396.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.4013, allocations: 160 kB / 396.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.404, allocations: 0.9519 MB / 397.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.4067, allocations: 1.749 MB / 399.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.4083, allocations: 0.8972 MB / 400 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007503/0.4158, allocations: 5.72 MB / 405.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4159, allocations: 8 kB / 405.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4159, allocations: 0 / 405.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003277/0.4162, allocations: 0 / 405.7 MB, free: 5.273 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.01172/0.4279, allocations: 4.435 MB / 410.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.428, allocations: 8.031 kB / 410.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.438, allocations: 2.529 MB / 412.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/0.4457, allocations: 2.912 MB / 415.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.4461, allocations: 270.9 kB / 415.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/0.4482, allocations: 435.5 kB / 416.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/0.4761, allocations: 12.33 MB / 428.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.4764, allocations: 55.47 kB / 428.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.4778, allocations: 175.8 kB / 428.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003772/0.4816, allocations: 2.17 MB / 431 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02454/0.5062, allocations: 10.33 MB / 441.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2794/0.7856, allocations: 44.9 MB / 486.2 MB, free: 81.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/0.8039, allocations: 7.184 MB / 493.4 MB, free: 78.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.8185, allocations: 9.308 MB / 0.491 GB, free: 71.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.25e-05/0.8187, allocations: 59.33 kB / 0.491 GB, free: 71.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 7.695e-06/0.8187, allocations: 2.719 kB / 0.491 GB, free: 71.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.05464/0.8734, allocations: 22.51 MB / 0.513 GB, free: 49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001043/0.8745, allocations: 1.615 MB / 0.5146 GB, free: 47.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.8798, allocations: 4.435 MB / 0.5189 GB, free: 42.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004861/0.8803, allocations: 54.58 kB / 0.519 GB, free: 42.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.8819, allocations: 3.413 MB / 0.5223 GB, free: 39.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008377/0.8827, allocations: 0.8113 MB / 0.5231 GB, free: 38.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.8829, allocations: 136 kB / 0.5232 GB, free: 38.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.8832, allocations: 0.5873 MB / 0.5238 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.8861, allocations: 2.344 MB / 0.5261 GB, free: 35.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.8906, allocations: 6.448 MB / 0.5324 GB, free: 26.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/0.8951, allocations: 3.764 MB / 0.5361 GB, free: 23.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.738e-05/0.8951, allocations: 40 kB / 0.5361 GB, free: 23.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02371/0.9189, allocations: 10.21 MB / 0.5461 GB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.9192, allocations: 71.94 kB / 0.5461 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01184/0.931, allocations: 4 MB / 0.55 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.9411, allocations: 2.191 MB / 0.5522 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005751/0.947, allocations: 1.591 MB / 0.5537 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/0.9556, allocations: 6.353 MB / 0.5599 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/0.9621, allocations: 455.3 kB / 0.5604 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/0.9636, allocations: 419.4 kB / 0.5608 GB, free: 13.53 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 (848): * Single equations (assignments): 839 * Array equations: 5 * 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 {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 prepare postOptimizeDAE: time 0.005618/0.9692, allocations: 2.224 MB / 0.5629 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/0.9705, allocations: 375.1 kB / 0.5633 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/0.9789, allocations: 3.509 MB / 0.5667 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006297/0.9852, allocations: 2.937 MB / 0.5696 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.9853, allocations: 4 kB / 0.5696 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/0.9853, allocations: 7.969 kB / 0.5696 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02509/1.01, allocations: 10.76 MB / 0.5801 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/1.011, allocations: 16.06 kB / 0.5801 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.012, allocations: 387.4 kB / 0.5805 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/1.016, allocations: 0.9946 MB / 0.5815 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.016, allocations: 55.98 kB / 0.5815 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/1.021, allocations: 4.676 MB / 0.5861 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001115/1.022, allocations: 1.482 MB / 0.5875 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.034, allocations: 7.848 MB / 0.5952 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/1.037, allocations: 0.6912 MB / 0.5959 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.038, allocations: 63.97 kB / 0.5959 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.04, allocations: 175.6 kB / 0.5961 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/1.041, allocations: 172.5 kB / 0.5963 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.041, allocations: 75.98 kB / 0.5963 GB, free: 7.535 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006367/1.047, allocations: 2.77 MB / 0.599 GB, free: 4.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.047, allocations: 8 kB / 0.5991 GB, free: 4.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008686/1.056, allocations: 1.188 MB / 0.6002 GB, free: 3.57 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 (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 {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.001251/1.057, allocations: 235.9 kB / 0.6004 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2348/1.292, allocations: 6.105 MB / 0.6064 GB, free: 144.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/1.292, allocations: 3.344 kB / 0.6064 GB, free: 144.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004639/1.297, allocations: 2.276 MB / 0.6086 GB, free: 143.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/1.3, allocations: 467.2 kB / 0.6091 GB, free: 143.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.32, allocations: 12.77 MB / 0.6215 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004237/1.324, allocations: 3.564 MB / 0.625 GB, free: 135.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005465/1.33, allocations: 2.042 MB / 0.627 GB, free: 135.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008415/1.331, allocations: 278.7 kB / 0.6273 GB, free: 135.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/1.331, allocations: 0.5469 kB / 0.6273 GB, free: 135.3 MB / 430.1 MB Notification: Performance of Templates: time 0.07006/1.401, allocations: 40.73 MB / 0.6671 GB, free: 96.43 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: