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.000813/0.0008131, allocations: 91.36 kB / 16.65 MB, free: 6.535 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.001022/0.001023, allocations: 177.5 kB / 17.56 MB, free: 6.18 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.46/1.46, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005415/0.0005415, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09847, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03698/0.1355, allocations: 41.05 MB / 369.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02187/0.1574, allocations: 9.103 MB / 378.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008642/0.1661, allocations: 179.5 kB / 378.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.1677, allocations: 413.9 kB / 379 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2185/0.3862, allocations: 1.634 MB / 380.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.3882, allocations: 0.6328 MB / 381.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009376/0.3976, allocations: 5.33 MB / 386.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009006/0.4066, allocations: 4.839 MB / 391.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.4101, allocations: 1.107 MB / 392.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.4143, allocations: 1.827 MB / 394.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007639/0.4151, allocations: 137.4 kB / 394.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.4181, allocations: 1.04 MB / 395.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.4207, allocations: 1.639 MB / 397.2 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.4233, allocations: 1.931 MB / 399.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006796/0.4301, allocations: 6.229 MB / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4302, allocations: 1.812 kB / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.4302, allocations: 0 / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002197/0.4304, allocations: 3.938 kB / 405.4 MB, free: 3.906 MB / 318.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.00812/0.4385, allocations: 3.742 MB / 409.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4386, allocations: 10.53 kB / 409.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/0.4457, allocations: 1.918 MB / 411.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.4505, allocations: 2.048 MB / 413.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.4507, allocations: 250.7 kB / 413.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008903/0.4516, allocations: 385.5 kB / 413.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.4693, allocations: 10.09 MB / 423.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.671e-05/0.4694, allocations: 41.09 kB / 423.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/0.4698, allocations: 157.7 kB / 424 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002693/0.4725, allocations: 1.859 MB / 425.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.49, allocations: 8.337 MB / 434.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05202/0.5421, allocations: 39.4 MB / 473.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.553, allocations: 4.011 MB / 477.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/0.5552, allocations: 1.422 MB / 479 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.5659, allocations: 7.623 MB / 486.7 MB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.5659, allocations: 58.17 kB / 486.7 MB, free: 5.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.378e-06/0.5659, allocations: 4 kB / 486.7 MB, free: 5.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03262/0.5986, allocations: 12.42 MB / 499.1 MB, free: 9.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001277/0.5999, allocations: 1.596 MB / 0.489 GB, free: 7.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/0.6059, allocations: 3.82 MB / 0.4927 GB, free: 3.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004421/0.6063, allocations: 45.7 kB / 0.4928 GB, free: 3.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.6087, allocations: 3.114 MB / 0.4958 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000845/0.6095, allocations: 0.6455 MB / 0.4965 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000658/0.6102, allocations: 0.5302 MB / 0.497 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.6103, allocations: 309.2 kB / 0.4973 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/0.6134, allocations: 2.034 MB / 0.4993 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005956/0.6193, allocations: 5.965 MB / 0.5051 GB, free: 5.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.6295, allocations: 8.626 MB / 0.5135 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.6296, allocations: 40 kB / 0.5135 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02586/0.6555, allocations: 9.735 MB / 0.523 GB, free: 1.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.6556, allocations: 67.94 kB / 0.5231 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01216/0.6678, allocations: 3.737 MB / 0.5268 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/0.6805, allocations: 2.615 MB / 0.5293 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/0.6849, allocations: 1.376 MB / 0.5307 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00983/0.6948, allocations: 7.166 MB / 0.5377 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/0.6996, allocations: 410.3 kB / 0.538 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008743/0.7005, allocations: 388 kB / 0.5384 GB, free: 1.324 MB / 462.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.1903/0.8908, allocations: 2.005 MB / 0.5404 GB, free: 168.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009153/0.8917, allocations: 325.1 kB / 0.5407 GB, free: 168.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007682/0.8994, allocations: 3.136 MB / 0.5437 GB, free: 168.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00608/0.9055, allocations: 2.678 MB / 0.5464 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.9056, allocations: 7.281 kB / 0.5464 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.9056, allocations: 8.953 kB / 0.5464 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.9234, allocations: 8.567 MB / 0.5547 GB, free: 166.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.9234, allocations: 3.5 kB / 0.5547 GB, free: 166.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.9243, allocations: 190.5 kB / 0.5549 GB, free: 166.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/0.9286, allocations: 1.439 MB / 0.5563 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.9288, allocations: 39.75 kB / 0.5564 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.9338, allocations: 5.708 MB / 0.5619 GB, free: 162.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007109/0.9345, allocations: 1.465 MB / 0.5634 GB, free: 161.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/0.9422, allocations: 5.287 MB / 0.5685 GB, free: 159.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.943, allocations: 390.2 kB / 0.5689 GB, free: 159.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/0.9433, allocations: 32.05 kB / 0.5689 GB, free: 159.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.9447, allocations: 124.1 kB / 0.5691 GB, free: 159.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.945, allocations: 90.48 kB / 0.5691 GB, free: 159.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.9451, allocations: 46.06 kB / 0.5692 GB, free: 159.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003889/0.949, allocations: 2.348 MB / 0.5715 GB, free: 158.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.949, allocations: 0 / 0.5715 GB, free: 158.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004433/0.9534, allocations: 1.038 MB / 0.5725 GB, free: 158.3 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.0003759/0.9538, allocations: 161.7 kB / 0.5727 GB, free: 158.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.9614, allocations: 5.469 MB / 0.578 GB, free: 155.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9615, allocations: 0 / 0.578 GB, free: 155.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.9648, allocations: 2.019 MB / 0.58 GB, free: 153.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.9676, allocations: 383.9 kB / 0.5803 GB, free: 152.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9814, allocations: 11.15 MB / 0.5912 GB, free: 141.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/0.9843, allocations: 3.107 MB / 0.5943 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004048/0.9884, allocations: 1.803 MB / 0.596 GB, free: 136.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.9889, allocations: 223.4 kB / 0.5962 GB, free: 136.6 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.9889, allocations: 0 / 0.5962 GB, free: 136.6 MB / 462.1 MB Notification: Performance of Templates: time 0.05595/1.045, allocations: 36.79 MB / 0.6322 GB, free: 99.85 MB / 462.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)