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.008873/0.008873, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001233/0.001233, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001912/0.001912, allocations: 54.92 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01775/0.1201, allocations: 10.73 MB / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1317, allocations: 3.944 MB / 387.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.1339, allocations: 59.81 kB / 387.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008772/0.1427, allocations: 2.577 MB / 390.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008/0.1508, allocations: 1.751 MB / 392.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.1538, allocations: 0.6902 MB / 392.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008689/0.1625, allocations: 3.689 MB / 396.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008457/0.171, allocations: 3.566 MB / 400.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.1753, allocations: 1.479 MB / 401.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004924/0.1802, allocations: 1.951 MB / 403.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.1816, allocations: 316 kB / 403.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.1857, allocations: 1.155 MB / 405.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.189, allocations: 1.839 MB / 406.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.1925, allocations: 2.148 MB / 409.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.2007, allocations: 6.684 MB / 415.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2008, allocations: 4 kB / 415.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2008, allocations: 4 kB / 415.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002271/0.201, allocations: 0 / 415.8 MB, free: 6.531 MB / 350.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.009661/0.2107, allocations: 4.569 MB / 420.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2107, allocations: 12.03 kB / 420.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006622/0.2174, allocations: 1.879 MB / 422.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.2217, allocations: 2.075 MB / 424.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2219, allocations: 254.2 kB / 424.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.2227, allocations: 387.7 kB / 424.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/0.2389, allocations: 10.07 MB / 435 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.239, allocations: 35.69 kB / 435 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/0.2394, allocations: 159.9 kB / 435.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002739/0.2421, allocations: 1.853 MB / 437 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.2588, allocations: 8.343 MB / 445.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/0.5234, allocations: 39.23 MB / 484.6 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009987/0.5334, allocations: 3.992 MB / 488.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.5352, allocations: 1.438 MB / 490 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.5452, allocations: 7.631 MB / 497.7 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5453, allocations: 54.62 kB / 497.7 MB, free: 31.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.959e-06/0.5453, allocations: 4 kB / 497.7 MB, free: 31.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02802/0.5734, allocations: 12.38 MB / 0.4981 GB, free: 22.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009669/0.5744, allocations: 1.686 MB / 0.4998 GB, free: 20.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003989/0.5784, allocations: 3.816 MB / 0.5035 GB, free: 16.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5786, allocations: 49.7 kB / 0.5036 GB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.5798, allocations: 3.117 MB / 0.5066 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.5802, allocations: 0.6541 MB / 0.5073 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.5814, allocations: 1.254 MB / 0.5085 GB, free: 11.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.5814, allocations: 301.1 kB / 0.5088 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.5836, allocations: 2.034 MB / 0.5108 GB, free: 8.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.5872, allocations: 5.973 MB / 0.5166 GB, free: 1.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009114/0.5963, allocations: 8.625 MB / 0.525 GB, free: 6.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.5965, allocations: 40 kB / 0.525 GB, free: 6.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0245/0.621, allocations: 9.731 MB / 0.5345 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.6212, allocations: 68 kB / 0.5346 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01222/0.6334, allocations: 3.745 MB / 0.5383 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/0.6454, allocations: 2.606 MB / 0.5408 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/0.65, allocations: 1.365 MB / 0.5421 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.6606, allocations: 7.716 MB / 0.5497 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/0.6653, allocations: 391.5 kB / 0.5501 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.6664, allocations: 391.9 kB / 0.5504 GB, free: 12.07 MB / 430.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.003717/0.6701, allocations: 2.018 MB / 0.5524 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006987/0.6708, allocations: 327.7 kB / 0.5527 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.6779, allocations: 3.128 MB / 0.5558 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005872/0.6838, allocations: 2.679 MB / 0.5584 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.6838, allocations: 4 kB / 0.5584 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.6838, allocations: 7.969 kB / 0.5584 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.7019, allocations: 8.575 MB / 0.5668 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.7019, allocations: 0 / 0.5668 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/0.7029, allocations: 192.7 kB / 0.567 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004815/0.7078, allocations: 1.428 MB / 0.5683 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.708, allocations: 40.56 kB / 0.5684 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006953/0.7149, allocations: 6.006 MB / 0.5743 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001318/0.7163, allocations: 1.543 MB / 0.5758 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0097/0.726, allocations: 5.304 MB / 0.5809 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.727, allocations: 376.7 kB / 0.5813 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/0.7277, allocations: 31.98 kB / 0.5813 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.7294, allocations: 119.8 kB / 0.5814 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.7297, allocations: 96.59 kB / 0.5815 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7299, allocations: 47.98 kB / 0.5816 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004934/0.7348, allocations: 2.341 MB / 0.5839 GB, free: 9.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7348, allocations: 4 kB / 0.5839 GB, free: 9.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006958/0.7418, allocations: 1.033 MB / 0.5849 GB, free: 8.156 MB / 462.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.0007007/0.7425, allocations: 164.4 kB / 0.585 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.7533, allocations: 5.512 MB / 0.5904 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.7533, allocations: 0 / 0.5904 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004218/0.7575, allocations: 2.039 MB / 0.5924 GB, free: 344 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.7606, allocations: 397.7 kB / 0.5928 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.7787, allocations: 8.968 MB / 0.6015 GB, free: 6.953 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005314/0.7841, allocations: 3.107 MB / 0.6046 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004932/0.7891, allocations: 1.807 MB / 0.6063 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.7898, allocations: 211.4 kB / 0.6065 GB, free: 1.785 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7899, allocations: 0 / 0.6065 GB, free: 1.785 MB / 478.1 MB Notification: Performance of Templates: time 0.285/1.075, allocations: 35.42 MB / 0.6411 GB, free: 157.5 MB / 494.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)