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.001346/0.001346, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 197 kB / 16.53 MB, free: 6.664 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001489/0.001489, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0122/0.2974, allocations: 10.74 MB / 336 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009235/0.3067, allocations: 3.921 MB / 340 MB, free: 5.219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.309, allocations: 67.81 kB / 340 MB, free: 5.152 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.3138, allocations: 2.589 MB / 342.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005894/0.3197, allocations: 1.751 MB / 344.4 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.3217, allocations: 0.6785 MB / 345.1 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005896/0.3277, allocations: 3.697 MB / 348.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005106/0.3328, allocations: 3.567 MB / 352.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.3358, allocations: 1.48 MB / 353.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.3391, allocations: 1.954 MB / 355.7 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.3403, allocations: 312 kB / 356.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.3433, allocations: 1.162 MB / 357.2 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002397/0.3457, allocations: 1.82 MB / 359 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.3502, allocations: 2.14 MB / 361.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008635/0.3588, allocations: 6.456 MB / 367.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3589, allocations: 4 kB / 367.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3589, allocations: 0 / 367.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002165/0.3591, allocations: 0 / 367.6 MB, free: 9.41 MB / 302.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.008983/0.3681, allocations: 4.577 MB / 372.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3682, allocations: 8.031 kB / 372.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006338/0.3745, allocations: 1.883 MB / 374.1 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.3782, allocations: 2.032 MB / 376.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.3784, allocations: 254.2 kB / 376.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007488/0.3791, allocations: 387.6 kB / 376.8 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.3943, allocations: 10.07 MB / 386.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-05/0.3944, allocations: 47.52 kB / 386.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.3948, allocations: 159.9 kB / 387 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002469/0.3973, allocations: 1.857 MB / 388.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.4128, allocations: 8.328 MB / 397.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/0.4586, allocations: 39.4 MB / 436.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.469, allocations: 3.996 MB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.471, allocations: 1.427 MB / 442 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.483, allocations: 7.638 MB / 449.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.4831, allocations: 63.42 kB / 449.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.398e-06/0.4831, allocations: 0 / 449.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.2367/0.7198, allocations: 12.39 MB / 462.1 MB, free: 109.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009772/0.7208, allocations: 1.678 MB / 463.8 MB, free: 107.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/0.726, allocations: 3.826 MB / 467.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.7264, allocations: 45.58 kB / 467.7 MB, free: 106.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.7279, allocations: 3.116 MB / 470.8 MB, free: 103.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006747/0.7286, allocations: 0.6452 MB / 471.4 MB, free: 103.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.73, allocations: 1.26 MB / 472.7 MB, free: 102.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.7301, allocations: 301.1 kB / 473 MB, free: 102.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.7324, allocations: 2.033 MB / 475 MB, free: 101.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.7362, allocations: 5.973 MB / 481 MB, free: 95.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006531/0.7427, allocations: 8.626 MB / 489.6 MB, free: 84.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-05/0.7428, allocations: 40 kB / 489.7 MB, free: 84.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02072/0.7635, allocations: 9.73 MB / 499.4 MB, free: 74.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.7636, allocations: 64 kB / 499.5 MB, free: 74.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01047/0.7741, allocations: 3.749 MB / 0.4914 GB, free: 71.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.7853, allocations: 2.613 MB / 0.494 GB, free: 68.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/0.7894, allocations: 1.368 MB / 0.4953 GB, free: 67.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007917/0.7974, allocations: 7.714 MB / 0.5028 GB, free: 59.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/0.8022, allocations: 403.4 kB / 0.5032 GB, free: 58.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008099/0.8031, allocations: 392 kB / 0.5036 GB, free: 58.35 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.002854/0.8059, allocations: 2.014 MB / 0.5056 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/0.8066, allocations: 335.6 kB / 0.5059 GB, free: 56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/0.8122, allocations: 3.122 MB / 0.5089 GB, free: 52.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004729/0.817, allocations: 2.679 MB / 0.5115 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.817, allocations: 0 / 0.5115 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.817, allocations: 7.984 kB / 0.5116 GB, free: 50.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.8304, allocations: 8.57 MB / 0.5199 GB, free: 41.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.8304, allocations: 0 / 0.5199 GB, free: 41.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.8313, allocations: 191.7 kB / 0.5201 GB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004064/0.8354, allocations: 1.44 MB / 0.5215 GB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.8355, allocations: 39.97 kB / 0.5216 GB, free: 39.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.8405, allocations: 6.012 MB / 0.5274 GB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008007/0.8413, allocations: 1.555 MB / 0.5289 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/0.8491, allocations: 5.295 MB / 0.5341 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.8503, allocations: 376.7 kB / 0.5345 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/0.8506, allocations: 31.98 kB / 0.5345 GB, free: 26.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8519, allocations: 119.8 kB / 0.5346 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.8521, allocations: 92.73 kB / 0.5347 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.8522, allocations: 51.97 kB / 0.5348 GB, free: 25.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.855, allocations: 2.345 MB / 0.537 GB, free: 23.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.855, allocations: 0 / 0.537 GB, free: 23.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004598/0.8596, allocations: 1.04 MB / 0.5381 GB, free: 22.44 MB / 382.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.0003828/0.86, allocations: 161.9 kB / 0.5382 GB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008591/0.8686, allocations: 5.99 MB / 0.5441 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8686, allocations: 0 / 0.5441 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.8719, allocations: 2.027 MB / 0.546 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.8742, allocations: 399.5 kB / 0.5464 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.8864, allocations: 9.063 MB / 0.5553 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.8888, allocations: 3.117 MB / 0.5583 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003761/0.8925, allocations: 1.803 MB / 0.5601 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006455/0.8932, allocations: 223.4 kB / 0.5603 GB, free: 15.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8932, allocations: 0 / 0.5603 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Templates: time 0.2422/1.135, allocations: 38.58 MB / 0.598 GB, free: 144.5 MB / 430.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)