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.006546/0.006546, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001688/0.001688, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001486/0.001486, allocations: 55.92 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2158/0.3174, allocations: 10.75 MB / 383.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008828/0.3262, allocations: 3.913 MB / 387.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.329, allocations: 62.12 kB / 387.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005552/0.3345, allocations: 2.591 MB / 390.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.3407, allocations: 1.796 MB / 392.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3427, allocations: 0.6909 MB / 393 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007315/0.35, allocations: 3.693 MB / 396.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006306/0.3564, allocations: 3.568 MB / 400.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.3605, allocations: 1.482 MB / 401.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.365, allocations: 1.956 MB / 403.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.3665, allocations: 315.8 kB / 404 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003872/0.3704, allocations: 1.15 MB / 405.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.3736, allocations: 1.843 MB / 407 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004745/0.3784, allocations: 2.146 MB / 409.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3889, allocations: 6.696 MB / 415.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.3889, allocations: 4 kB / 415.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3889, allocations: 0 / 415.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001922/0.3891, allocations: 0 / 415.8 MB, free: 4.781 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.008506/0.3976, allocations: 4.558 MB / 420.4 MB, free: 160 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3977, allocations: 16.02 kB / 420.4 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.4041, allocations: 1.879 MB / 422.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.4079, allocations: 2.071 MB / 424.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.4081, allocations: 258.2 kB / 424.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008174/0.4089, allocations: 383.7 kB / 425 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.4272, allocations: 10.07 MB / 435 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.761e-05/0.4274, allocations: 47.55 kB / 435.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.4278, allocations: 159.9 kB / 435.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.4305, allocations: 1.857 MB / 437.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.4475, allocations: 8.325 MB / 445.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.4951, allocations: 39.24 MB / 484.7 MB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/0.505, allocations: 3.992 MB / 488.7 MB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.5072, allocations: 1.424 MB / 490.1 MB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.5178, allocations: 7.63 MB / 497.7 MB, free: 260 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5178, allocations: 51.56 kB / 497.8 MB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 5.58e-06/0.5179, allocations: 0 / 497.8 MB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03073/0.5486, allocations: 12.4 MB / 0.4982 GB, free: 3.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001335/0.55, allocations: 1.679 MB / 0.4998 GB, free: 1.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/0.5549, allocations: 3.828 MB / 0.5036 GB, free: 13.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/0.5553, allocations: 49.69 kB / 0.5036 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.5575, allocations: 3.103 MB / 0.5067 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007515/0.5583, allocations: 0.656 MB / 0.5073 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.5599, allocations: 1.261 MB / 0.5085 GB, free: 8.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.56, allocations: 301.1 kB / 0.5088 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.563, allocations: 2.03 MB / 0.5108 GB, free: 6.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/0.5684, allocations: 5.969 MB / 0.5166 GB, free: 14.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009335/0.5778, allocations: 8.627 MB / 0.5251 GB, free: 3.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-05/0.5779, allocations: 40 kB / 0.5251 GB, free: 3.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02219/0.6001, allocations: 9.73 MB / 0.5346 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.6002, allocations: 64 kB / 0.5347 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01113/0.6114, allocations: 3.753 MB / 0.5383 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.6225, allocations: 2.61 MB / 0.5409 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/0.6269, allocations: 1.368 MB / 0.5422 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2334/0.8602, allocations: 7.705 MB / 0.5497 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/0.8655, allocations: 396.3 kB / 0.5501 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/0.8667, allocations: 391.4 kB / 0.5505 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.004159/0.8708, allocations: 2.014 MB / 0.5524 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008342/0.8717, allocations: 330.4 kB / 0.5528 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/0.8786, allocations: 3.126 MB / 0.5558 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007395/0.8861, allocations: 2.684 MB / 0.5584 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.8861, allocations: 5.312 kB / 0.5584 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/0.8862, allocations: 8.172 kB / 0.5584 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/0.9107, allocations: 8.549 MB / 0.5668 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.9108, allocations: 5.062 kB / 0.5668 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.9122, allocations: 188.8 kB / 0.567 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006651/0.9189, allocations: 1.434 MB / 0.5684 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.9192, allocations: 41.73 kB / 0.5684 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008371/0.9276, allocations: 6.008 MB / 0.5743 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001034/0.9287, allocations: 1.545 MB / 0.5758 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.9398, allocations: 5.314 MB / 0.581 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/0.9415, allocations: 370.5 kB / 0.5813 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007032/0.9422, allocations: 26.88 kB / 0.5814 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.9442, allocations: 121.3 kB / 0.5815 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.9446, allocations: 93.73 kB / 0.5816 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.9448, allocations: 46.17 kB / 0.5816 GB, free: 127.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005385/0.9502, allocations: 2.351 MB / 0.5839 GB, free: 126.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9502, allocations: 0 / 0.5839 GB, free: 126.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008984/0.9592, allocations: 1.034 MB / 0.5849 GB, free: 126.6 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.0005112/0.9597, allocations: 174.9 kB / 0.5851 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01232/0.9721, allocations: 5.512 MB / 0.5905 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.9721, allocations: 0 / 0.5905 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.977, allocations: 2.038 MB / 0.5925 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.9804, allocations: 395.8 kB / 0.5928 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.9989, allocations: 8.956 MB / 0.6016 GB, free: 112 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/1.003, allocations: 3.116 MB / 0.6046 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005853/1.009, allocations: 1.804 MB / 0.6064 GB, free: 107.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/1.01, allocations: 223.4 kB / 0.6066 GB, free: 106.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/1.01, allocations: 0 / 0.6066 GB, free: 106.9 MB / 478.1 MB Notification: Performance of Templates: time 0.05955/1.07, allocations: 35.46 MB / 0.6412 GB, free: 71.44 MB / 478.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)