Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001116/0.001116, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 189.9 kB / 16.14 MB, free: 6.703 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.432/1.432, allocations: 205.1 MB / 222 MB, free: 4.762 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.001147/0.001147, allocations: 51.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2534, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03816/0.2916, allocations: 42.2 MB / 366.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.3175, allocations: 9.153 MB / 376 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/0.3283, allocations: 183.5 kB / 376.2 MB, free: 452 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005433/0.3338, allocations: 2.571 MB / 378.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.3394, allocations: 1.635 MB / 380.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.3413, allocations: 0.6319 MB / 381.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009688/0.351, allocations: 5.335 MB / 386.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006581/0.3576, allocations: 3.529 MB / 389.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.3611, allocations: 1.327 MB / 391.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.3655, allocations: 2.087 MB / 393.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000939/0.3664, allocations: 228 kB / 393.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.37, allocations: 1.123 MB / 394.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.3728, allocations: 1.769 MB / 396.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004509/0.3774, allocations: 2.073 MB / 398.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3877, allocations: 6.397 MB / 404.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3877, allocations: 0 / 404.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3877, allocations: 3.984 kB / 404.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002542/0.388, allocations: 0 / 404.9 MB, free: 3.586 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.011/0.399, allocations: 4.569 MB / 409.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3991, allocations: 16.03 kB / 409.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007112/0.4062, allocations: 1.879 MB / 411.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.4106, allocations: 2.044 MB / 413.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.4108, allocations: 250.2 kB / 413.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.4123, allocations: 391.6 kB / 414.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.4347, allocations: 10.07 MB / 424.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/0.435, allocations: 39.62 kB / 424.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001461/0.4364, allocations: 159.9 kB / 424.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003249/0.4397, allocations: 1.857 MB / 426.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.4583, allocations: 8.324 MB / 434.5 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2319/0.6902, allocations: 39.39 MB / 473.9 MB, free: 87.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.6997, allocations: 4.003 MB / 477.9 MB, free: 85.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.7015, allocations: 1.428 MB / 479.3 MB, free: 85.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009503/0.711, allocations: 7.627 MB / 487 MB, free: 80.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.7111, allocations: 53.98 kB / 487 MB, free: 80.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.799e-06/0.7111, allocations: 0 / 487 MB, free: 80.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02684/0.738, allocations: 12.4 MB / 499.4 MB, free: 70.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008499/0.7389, allocations: 1.584 MB / 0.4892 GB, free: 68.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.7429, allocations: 3.828 MB / 0.493 GB, free: 64.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.7432, allocations: 47.66 kB / 0.493 GB, free: 64.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.7443, allocations: 3.11 MB / 0.4961 GB, free: 61.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.7447, allocations: 0.654 MB / 0.4967 GB, free: 60.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.7459, allocations: 1.25 MB / 0.4979 GB, free: 59.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.7459, allocations: 309.1 kB / 0.4982 GB, free: 59.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.7481, allocations: 2.034 MB / 0.5002 GB, free: 57.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/0.7515, allocations: 5.973 MB / 0.506 GB, free: 49.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006256/0.7577, allocations: 8.619 MB / 0.5145 GB, free: 38.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/0.7578, allocations: 40.28 kB / 0.5145 GB, free: 38.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01861/0.7764, allocations: 9.735 MB / 0.524 GB, free: 29.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.7765, allocations: 64.94 kB / 0.5241 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009671/0.7862, allocations: 3.749 MB / 0.5277 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/0.7966, allocations: 2.613 MB / 0.5303 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.8003, allocations: 1.376 MB / 0.5316 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/0.8079, allocations: 7.167 MB / 0.5386 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.8122, allocations: 403.4 kB / 0.539 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006919/0.8129, allocations: 391.5 kB / 0.5394 GB, free: 13.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.002454/0.8153, allocations: 2.013 MB / 0.5413 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.8158, allocations: 327.8 kB / 0.5417 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/0.8214, allocations: 3.124 MB / 0.5447 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004781/0.8262, allocations: 2.679 MB / 0.5473 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.8262, allocations: 4 kB / 0.5473 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.8263, allocations: 7.984 kB / 0.5473 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.84, allocations: 8.571 MB / 0.5557 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.84, allocations: 4 kB / 0.5557 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/0.8409, allocations: 187.7 kB / 0.5559 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004594/0.8455, allocations: 1.443 MB / 0.5573 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/0.8458, allocations: 39.97 kB / 0.5573 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006132/0.8519, allocations: 5.707 MB / 0.5629 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009845/0.8529, allocations: 1.456 MB / 0.5643 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009123/0.8621, allocations: 5.302 MB / 0.5695 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.8633, allocations: 380.7 kB / 0.5699 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/0.8637, allocations: 31.98 kB / 0.5699 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.865, allocations: 119.8 kB / 0.57 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.8653, allocations: 84.86 kB / 0.5701 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.8654, allocations: 43.98 kB / 0.5701 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003832/0.8692, allocations: 2.349 MB / 0.5724 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8692, allocations: 0 / 0.5724 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00486/0.8741, allocations: 1.03 MB / 0.5734 GB, free: 9.551 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.0004525/0.8746, allocations: 171.9 kB / 0.5736 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009191/0.8838, allocations: 5.47 MB / 0.5789 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8838, allocations: 4.062 kB / 0.5789 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003776/0.8876, allocations: 2.024 MB / 0.5809 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.8902, allocations: 388.3 kB / 0.5813 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.9062, allocations: 10.97 MB / 0.592 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/0.9097, allocations: 3.107 MB / 0.595 GB, free: 3.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004327/0.9141, allocations: 1.803 MB / 0.5968 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/0.9146, allocations: 227.4 kB / 0.597 GB, free: 1.195 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9146, allocations: 0 / 0.597 GB, free: 1.195 MB / 430.1 MB Notification: Performance of Templates: time 0.2291/1.144, allocations: 37.16 MB / 0.6333 GB, free: 152.6 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)