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.001522/0.001522, allocations: 108.5 kB / 17.06 MB, free: 6.016 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.001232/0.001232, allocations: 199.9 kB / 18 MB, free: 5.094 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.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.3 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.001142/0.001142, allocations: 43.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09076, allocations: 46.63 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.204/0.2948, allocations: 10.75 MB / 385.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008547/0.3034, allocations: 3.916 MB / 389.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.3066, allocations: 62.25 kB / 389.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.3122, allocations: 2.584 MB / 391.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005861/0.3181, allocations: 1.759 MB / 393.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.3204, allocations: 0.6822 MB / 394.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006848/0.3273, allocations: 3.692 MB / 397.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006526/0.3338, allocations: 3.568 MB / 401.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.3378, allocations: 1.481 MB / 403 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/0.3418, allocations: 1.961 MB / 404.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.3432, allocations: 314.4 kB / 405.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.3467, allocations: 1.155 MB / 406.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.3493, allocations: 1.84 MB / 408.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004064/0.3533, allocations: 2.134 MB / 410.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009268/0.3626, allocations: 6.699 MB / 417.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3627, allocations: 0 / 417.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3627, allocations: 0 / 417.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002867/0.363, allocations: 4 kB / 417.1 MB, free: 4.855 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.009807/0.3728, allocations: 4.57 MB / 421.7 MB, free: 224 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3728, allocations: 8.031 kB / 421.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.3795, allocations: 1.879 MB / 423.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/0.3836, allocations: 2.075 MB / 425.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3838, allocations: 250.2 kB / 425.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008011/0.3846, allocations: 391.7 kB / 426.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4021, allocations: 10.07 MB / 436.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.862e-05/0.4022, allocations: 43.61 kB / 436.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/0.4026, allocations: 155.9 kB / 436.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002541/0.4052, allocations: 1.857 MB / 438.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.422, allocations: 8.324 MB / 446.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.4722, allocations: 39.24 MB / 485.9 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4825, allocations: 3.985 MB / 489.9 MB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.4847, allocations: 1.435 MB / 491.3 MB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4962, allocations: 7.634 MB / 499 MB, free: 324 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.4963, allocations: 51.55 kB / 499 MB, free: 264 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.969e-06/0.4963, allocations: 4 kB / 499 MB, free: 260 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03149/0.5278, allocations: 12.4 MB / 0.4994 GB, free: 3.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001512/0.5293, allocations: 1.683 MB / 0.5011 GB, free: 1.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005825/0.5352, allocations: 3.824 MB / 0.5048 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.5356, allocations: 45.7 kB / 0.5049 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.5378, allocations: 3.107 MB / 0.5079 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/0.5386, allocations: 0.656 MB / 0.5085 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.5403, allocations: 1.257 MB / 0.5098 GB, free: 8.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5404, allocations: 301.1 kB / 0.5101 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.5432, allocations: 2.034 MB / 0.512 GB, free: 6.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/0.5488, allocations: 5.969 MB / 0.5179 GB, free: 14.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/0.5585, allocations: 8.619 MB / 0.5263 GB, free: 3.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-05/0.5586, allocations: 40 kB / 0.5263 GB, free: 3.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02199/0.5807, allocations: 9.734 MB / 0.5358 GB, free: 10.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/0.5808, allocations: 64 kB / 0.5359 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01138/0.5922, allocations: 3.749 MB / 0.5396 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/0.604, allocations: 2.605 MB / 0.5421 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/0.6082, allocations: 1.376 MB / 0.5434 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2272/0.8354, allocations: 7.704 MB / 0.551 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/0.8411, allocations: 400.2 kB / 0.5514 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008806/0.842, allocations: 389.2 kB / 0.5517 GB, free: 140.5 MB / 478.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.004359/0.8463, allocations: 2.015 MB / 0.5537 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.8471, allocations: 329.4 kB / 0.554 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.8541, allocations: 3.118 MB / 0.5571 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006201/0.8604, allocations: 2.69 MB / 0.5597 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8604, allocations: 2.75 kB / 0.5597 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.159e-05/0.8604, allocations: 8.125 kB / 0.5597 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.877, allocations: 8.548 MB / 0.568 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8771, allocations: 4.031 kB / 0.568 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.878, allocations: 196.1 kB / 0.5682 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004244/0.8822, allocations: 1.433 MB / 0.5696 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.8823, allocations: 35.16 kB / 0.5697 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/0.8876, allocations: 6.013 MB / 0.5755 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007105/0.8883, allocations: 1.544 MB / 0.577 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/0.8957, allocations: 5.314 MB / 0.5822 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.8964, allocations: 369.2 kB / 0.5826 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/0.8967, allocations: 31.14 kB / 0.5826 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.8979, allocations: 118.3 kB / 0.5827 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.8981, allocations: 98.62 kB / 0.5828 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.8983, allocations: 43.25 kB / 0.5829 GB, free: 127.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002686/0.9009, allocations: 2.35 MB / 0.5852 GB, free: 126.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.901, allocations: 0 / 0.5852 GB, free: 126.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004009/0.905, allocations: 1.034 MB / 0.5862 GB, free: 126.7 MB / 478.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.0003262/0.9053, allocations: 168.8 kB / 0.5863 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006871/0.9122, allocations: 5.51 MB / 0.5917 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.9122, allocations: 0 / 0.5917 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.9153, allocations: 2.042 MB / 0.5937 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.9172, allocations: 393.3 kB / 0.5941 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.9283, allocations: 8.963 MB / 0.6028 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/0.9309, allocations: 3.115 MB / 0.6059 GB, free: 109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003203/0.9342, allocations: 1.8 MB / 0.6076 GB, free: 107.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.9346, allocations: 219.4 kB / 0.6078 GB, free: 106.9 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.9346, allocations: 4 kB / 0.6078 GB, free: 106.9 MB / 478.1 MB Notification: Performance of Templates: time 0.05212/0.9867, allocations: 35.42 MB / 0.6424 GB, free: 71.62 MB / 478.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)