Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 102.6 kB / 16.5 MB, free: 6.652 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.001278/0.001279, allocations: 195.1 kB / 17.42 MB, free: 6.062 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.419/1.419, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.002242/0.002242, allocations: 56.41 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.119, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03972/0.1588, allocations: 42.21 MB / 368.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02248/0.1813, allocations: 9.157 MB / 377.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009457/0.1909, allocations: 175.6 kB / 377.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2094/0.4003, allocations: 2.565 MB / 380.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.4066, allocations: 1.631 MB / 381.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.4086, allocations: 0.6315 MB / 382.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009701/0.4183, allocations: 5.341 MB / 387.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00689/0.4253, allocations: 3.531 MB / 391.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.4285, allocations: 1.323 MB / 392.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004057/0.4326, allocations: 2.095 MB / 394.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009393/0.4336, allocations: 225.9 kB / 394.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.4364, allocations: 1.119 MB / 396 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002007/0.4384, allocations: 1.768 MB / 397.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.4411, allocations: 2.074 MB / 399.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.4471, allocations: 6.402 MB / 406.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4471, allocations: 0 / 406.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4472, allocations: 0 / 406.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.4473, allocations: 6.156 kB / 406.2 MB, free: 3.465 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008391/0.4557, allocations: 4.579 MB / 410.8 MB, free: 376 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4558, allocations: 6.844 kB / 410.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006173/0.4619, allocations: 1.873 MB / 412.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.466, allocations: 2.042 MB / 414.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4662, allocations: 242.6 kB / 414.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007894/0.467, allocations: 400.5 kB / 415.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.4843, allocations: 10.07 MB / 425.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.206e-05/0.4844, allocations: 37.84 kB / 425.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.4848, allocations: 160.3 kB / 425.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.4874, allocations: 1.859 MB / 427.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.5047, allocations: 8.325 MB / 435.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05476/0.5595, allocations: 39.39 MB / 475.2 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.5706, allocations: 4.006 MB / 479.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.5732, allocations: 1.416 MB / 480.6 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.013/0.5862, allocations: 7.633 MB / 488.2 MB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5863, allocations: 47.56 kB / 488.3 MB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 6.452e-06/0.5863, allocations: 3.984 kB / 488.3 MB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03564/0.6219, allocations: 12.41 MB / 0.489 GB, free: 6.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001499/0.6235, allocations: 1.586 MB / 0.4905 GB, free: 4.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/0.6305, allocations: 3.828 MB / 0.4942 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003618/0.6309, allocations: 49.7 kB / 0.4943 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002781/0.6337, allocations: 3.11 MB / 0.4973 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.6347, allocations: 0.6461 MB / 0.498 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/0.6365, allocations: 1.261 MB / 0.4992 GB, free: 11.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.6366, allocations: 301.1 kB / 0.4995 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.6399, allocations: 2.034 MB / 0.5015 GB, free: 9.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/0.6463, allocations: 5.963 MB / 0.5073 GB, free: 1.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.6584, allocations: 8.629 MB / 0.5157 GB, free: 7.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/0.6586, allocations: 40 kB / 0.5158 GB, free: 7.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02455/0.6832, allocations: 9.733 MB / 0.5253 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.6833, allocations: 64 kB / 0.5253 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01125/0.6946, allocations: 3.745 MB / 0.529 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.7062, allocations: 2.613 MB / 0.5315 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/0.7107, allocations: 1.372 MB / 0.5329 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2161/0.9269, allocations: 7.169 MB / 0.5399 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004852/0.9318, allocations: 401.3 kB / 0.5403 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/0.9329, allocations: 392.5 kB / 0.5406 GB, free: 125.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.00364/0.9366, allocations: 2.012 MB / 0.5426 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006488/0.9372, allocations: 329.9 kB / 0.5429 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/0.9444, allocations: 3.122 MB / 0.546 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005934/0.9504, allocations: 2.677 MB / 0.5486 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.9504, allocations: 3.125 kB / 0.5486 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/0.9504, allocations: 5.656 kB / 0.5486 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.967, allocations: 8.574 MB / 0.557 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.967, allocations: 0 / 0.557 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.9679, allocations: 198.9 kB / 0.5571 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004392/0.9723, allocations: 1.441 MB / 0.5585 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.9726, allocations: 32.39 kB / 0.5586 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.9777, allocations: 5.707 MB / 0.5642 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007044/0.9784, allocations: 1.452 MB / 0.5656 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/0.9867, allocations: 5.298 MB / 0.5707 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.988, allocations: 368.9 kB / 0.5711 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004118/0.9885, allocations: 39.44 kB / 0.5711 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.9897, allocations: 124 kB / 0.5713 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.99, allocations: 94.36 kB / 0.5713 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.9901, allocations: 44.42 kB / 0.5714 GB, free: 117.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003416/0.9936, allocations: 2.351 MB / 0.5737 GB, free: 116.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9936, allocations: 0 / 0.5737 GB, free: 116.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005197/0.9988, allocations: 1.025 MB / 0.5747 GB, free: 116.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004003/0.9992, allocations: 169 kB / 0.5748 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008158/1.007, allocations: 5.488 MB / 0.5802 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.007, allocations: 0 / 0.5802 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.011, allocations: 2.015 MB / 0.5822 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.013, allocations: 374 kB / 0.5825 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.029, allocations: 10.98 MB / 0.5932 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.032, allocations: 3.111 MB / 0.5963 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004159/1.036, allocations: 1.807 MB / 0.5981 GB, free: 98.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/1.036, allocations: 223.4 kB / 0.5983 GB, free: 98.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/1.036, allocations: 0 / 0.5983 GB, free: 98.14 MB / 462.1 MB Notification: Performance of Templates: time 0.0534/1.09, allocations: 37.17 MB / 0.6346 GB, free: 61.04 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)