Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009674/0.0009678, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005793/0.005793, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.578/1.578, allocations: 205.4 MB / 222.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.0004858/0.0004862, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04314/0.3326, allocations: 41.05 MB / 368.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3523, allocations: 9.103 MB / 377.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00759/0.3599, allocations: 175.6 kB / 377.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.3614, allocations: 417.9 kB / 377.8 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.3665, allocations: 1.647 MB / 379.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3679, allocations: 0.628 MB / 380 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00612/0.374, allocations: 5.339 MB / 385.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006472/0.3805, allocations: 4.824 MB / 390.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.3825, allocations: 1.109 MB / 391.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.3853, allocations: 1.825 MB / 393.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.3858, allocations: 140 kB / 393.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.3884, allocations: 1.045 MB / 394.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.3908, allocations: 1.64 MB / 396 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.3933, allocations: 1.931 MB / 397.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.4011, allocations: 6.228 MB / 404.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4011, allocations: 4 kB / 404.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4011, allocations: 4 kB / 404.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002079/0.4013, allocations: 0 / 404.1 MB, free: 5.906 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.00829/0.4096, allocations: 3.738 MB / 407.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4097, allocations: 11.97 kB / 407.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007569/0.4173, allocations: 1.926 MB / 409.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.4214, allocations: 2.036 MB / 411.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4216, allocations: 250.2 kB / 412.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009892/0.4226, allocations: 387.7 kB / 412.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.4415, allocations: 10.08 MB / 422.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.707e-05/0.4416, allocations: 47.47 kB / 422.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.442, allocations: 163.8 kB / 422.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/0.4448, allocations: 1.853 MB / 424.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.4638, allocations: 8.339 MB / 432.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2432/0.707, allocations: 39.38 MB / 472.3 MB, free: 86.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009785/0.7168, allocations: 4.009 MB / 476.3 MB, free: 85.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.719, allocations: 1.421 MB / 477.8 MB, free: 85.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00983/0.7289, allocations: 7.625 MB / 485.4 MB, free: 79.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.7289, allocations: 50.47 kB / 485.4 MB, free: 79.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 5.961e-06/0.729, allocations: 2.031 kB / 485.4 MB, free: 79.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02928/0.7582, allocations: 12.42 MB / 497.9 MB, free: 70.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009897/0.7593, allocations: 1.583 MB / 499.4 MB, free: 68.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/0.7639, allocations: 3.819 MB / 0.4915 GB, free: 65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.7643, allocations: 46.95 kB / 0.4915 GB, free: 64.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.7658, allocations: 3.121 MB / 0.4946 GB, free: 61.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000688/0.7665, allocations: 0.653 MB / 0.4952 GB, free: 61.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.767, allocations: 0.5279 MB / 0.4957 GB, free: 60.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.767, allocations: 305.2 kB / 0.496 GB, free: 60.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.7695, allocations: 2.03 MB / 0.498 GB, free: 58.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/0.7733, allocations: 5.973 MB / 0.5038 GB, free: 50.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.7808, allocations: 8.614 MB / 0.5122 GB, free: 39.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.7809, allocations: 40 kB / 0.5123 GB, free: 39.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02303/0.804, allocations: 9.746 MB / 0.5218 GB, free: 30.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.8042, allocations: 65 kB / 0.5218 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01236/0.8166, allocations: 3.744 MB / 0.5255 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/0.8283, allocations: 2.617 MB / 0.5281 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.8322, allocations: 1.372 MB / 0.5294 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.8406, allocations: 7.173 MB / 0.5364 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/0.8454, allocations: 399.3 kB / 0.5368 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.8465, allocations: 393.3 kB / 0.5372 GB, free: 14.05 MB / 382.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.004039/0.8506, allocations: 2.007 MB / 0.5391 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/0.8514, allocations: 327.7 kB / 0.5394 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007134/0.8586, allocations: 3.137 MB / 0.5425 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005333/0.864, allocations: 2.685 MB / 0.5451 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.864, allocations: 4 kB / 0.5451 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.864, allocations: 7.969 kB / 0.5451 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.8804, allocations: 8.563 MB / 0.5535 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.8804, allocations: 11.92 kB / 0.5535 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/0.8814, allocations: 187.7 kB / 0.5537 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004656/0.8861, allocations: 1.437 MB / 0.5551 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.8863, allocations: 35.97 kB / 0.5551 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/0.8927, allocations: 5.704 MB / 0.5607 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001058/0.8938, allocations: 1.464 MB / 0.5621 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009343/0.9031, allocations: 5.303 MB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9042, allocations: 384.6 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/0.9047, allocations: 36.53 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.9061, allocations: 123.8 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.9063, allocations: 89.89 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.9065, allocations: 51.97 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003419/0.9099, allocations: 2.345 MB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9099, allocations: 3.938 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004777/0.9147, allocations: 1.027 MB / 0.5712 GB, free: 10.52 MB / 414.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.0004429/0.9151, allocations: 160.3 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009589/0.9247, allocations: 5.477 MB / 0.5767 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9248, allocations: 0 / 0.5767 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.929, allocations: 2.023 MB / 0.5787 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.932, allocations: 381.1 kB / 0.5791 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.9512, allocations: 11.15 MB / 0.59 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/0.9545, allocations: 3.114 MB / 0.593 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004434/0.959, allocations: 1.796 MB / 0.5948 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.9596, allocations: 223.4 kB / 0.595 GB, free: 2 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.9596, allocations: 4 kB / 0.595 GB, free: 1.996 MB / 430.1 MB Notification: Performance of Templates: time 0.2405/1.2, allocations: 36.77 MB / 0.6309 GB, free: 151.9 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)