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.001439/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001656/0.001656, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.447/1.447, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001145/0.001146, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2521, allocations: 46.63 MB / 324.9 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0423/0.2944, allocations: 46.97 MB / 371.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.3203, allocations: 9.865 MB / 381.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01185/0.3323, allocations: 199.5 kB / 381.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005605/0.3379, allocations: 2.645 MB / 384.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.3443, allocations: 1.833 MB / 386.4 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.3461, allocations: 0.7607 MB / 387.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006381/0.3525, allocations: 4.659 MB / 391.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.3571, allocations: 3.764 MB / 395.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.3597, allocations: 1.733 MB / 397.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.3625, allocations: 2.594 MB / 399.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008451/0.3634, allocations: 352 kB / 400.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3657, allocations: 1.272 MB / 401.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.3675, allocations: 2.143 MB / 403.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.3697, allocations: 2.454 MB / 406.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.3763, allocations: 7.328 MB / 413.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3763, allocations: 0 / 413.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3763, allocations: 0 / 413.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001118/0.3764, allocations: 0 / 413.4 MB, free: 11.22 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.008369/0.3848, allocations: 5.285 MB / 418.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3849, allocations: 8.031 kB / 418.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007472/0.3923, allocations: 2.116 MB / 420.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/0.3969, allocations: 2.583 MB / 423.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3972, allocations: 274.8 kB / 423.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3982, allocations: 427.6 kB / 424.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/0.4215, allocations: 12.22 MB / 436.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.4217, allocations: 47.61 kB / 436.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004691/0.4221, allocations: 171.8 kB / 436.5 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/0.4252, allocations: 2.17 MB / 438.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/0.4472, allocations: 10.2 MB / 448.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.266/0.7132, allocations: 44.32 MB / 493.2 MB, free: 79.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.7235, allocations: 4.612 MB / 497.8 MB, free: 76.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.7255, allocations: 1.729 MB / 499.6 MB, free: 75.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009993/0.7355, allocations: 8.219 MB / 0.4959 GB, free: 66.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7356, allocations: 59.81 kB / 0.4959 GB, free: 66.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 4.037e-06/0.7356, allocations: 3.938 kB / 0.4959 GB, free: 66.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03565/0.7713, allocations: 15.96 MB / 0.5115 GB, free: 50.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001051/0.7724, allocations: 1.699 MB / 0.5132 GB, free: 48.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/0.7776, allocations: 4.215 MB / 0.5173 GB, free: 44.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004422/0.778, allocations: 56.91 kB / 0.5174 GB, free: 44.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.7797, allocations: 3.399 MB / 0.5207 GB, free: 41.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.7805, allocations: 0.8039 MB / 0.5215 GB, free: 40.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.7818, allocations: 1.363 MB / 0.5228 GB, free: 39.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.7818, allocations: 301.1 kB / 0.5231 GB, free: 38.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.7845, allocations: 2.266 MB / 0.5253 GB, free: 36.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.7886, allocations: 6.398 MB / 0.5315 GB, free: 28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008367/0.797, allocations: 9.313 MB / 0.5406 GB, free: 16.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.7972, allocations: 44 kB / 0.5407 GB, free: 16.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02004/0.8172, allocations: 10.07 MB / 0.5505 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.8173, allocations: 71.94 kB / 0.5506 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009749/0.8271, allocations: 3.79 MB / 0.5543 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008941/0.8361, allocations: 2.172 MB / 0.5564 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/0.8413, allocations: 1.583 MB / 0.5579 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00935/0.8507, allocations: 6.602 MB / 0.5644 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/0.8572, allocations: 433.3 kB / 0.5648 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.8583, allocations: 420 kB / 0.5652 GB, free: 7.152 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.005206/0.8635, allocations: 2.214 MB / 0.5674 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009577/0.8645, allocations: 367.2 kB / 0.5677 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/0.8709, allocations: 3.294 MB / 0.5709 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005058/0.876, allocations: 2.745 MB / 0.5736 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.876, allocations: 4.562 kB / 0.5736 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.8761, allocations: 7.969 kB / 0.5736 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/0.896, allocations: 10.35 MB / 0.5837 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.8961, allocations: 12 kB / 0.5837 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.8976, allocations: 367.4 kB / 0.5841 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.9005, allocations: 0.9946 MB / 0.5851 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.9007, allocations: 63.91 kB / 0.5851 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/0.9057, allocations: 4.899 MB / 0.5899 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001022/0.9068, allocations: 1.564 MB / 0.5914 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008997/0.9158, allocations: 5.912 MB / 0.5972 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.9175, allocations: 0.6561 MB / 0.5979 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.918, allocations: 59.97 kB / 0.5979 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.9196, allocations: 143.8 kB / 0.5981 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.92, allocations: 176.4 kB / 0.5982 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.9201, allocations: 71.98 kB / 0.5983 GB, free: 4.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003886/0.924, allocations: 2.605 MB / 0.6008 GB, free: 1.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.924, allocations: 0 / 0.6008 GB, free: 1.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006779/0.9308, allocations: 1.172 MB / 0.602 GB, free: 0.5312 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.0006395/0.9315, allocations: 212.3 kB / 0.6022 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1863/1.118, allocations: 6.674 MB / 0.6087 GB, free: 147.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/1.118, allocations: 3.719 kB / 0.6087 GB, free: 147.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003422/1.121, allocations: 2.191 MB / 0.6108 GB, free: 146.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.124, allocations: 0.4946 MB / 0.6113 GB, free: 146.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.14, allocations: 12.95 MB / 0.624 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.143, allocations: 3.464 MB / 0.6274 GB, free: 136.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004191/1.147, allocations: 2.027 MB / 0.6293 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/1.148, allocations: 271.4 kB / 0.6296 GB, free: 134.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/1.148, allocations: 0 / 0.6296 GB, free: 134.7 MB / 430.1 MB Notification: Performance of Templates: time 0.06172/1.21, allocations: 42.35 MB / 0.6709 GB, free: 92.42 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)