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.0009745/0.0009747, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001218/0.001218, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.511/1.511, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0005671/0.0005672, allocations: 12 kB / 280.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2479, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04119/0.2891, allocations: 38.19 MB / 365.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.3121, allocations: 8.668 MB / 374.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008488/0.3207, allocations: 179.6 kB / 374.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006248/0.3269, allocations: 1.971 MB / 376.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01839/0.3454, allocations: 5.907 MB / 382.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.3488, allocations: 0.5656 MB / 383.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006854/0.3556, allocations: 4.254 MB / 387.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.3627, allocations: 4.191 MB / 391.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.3655, allocations: 1.207 MB / 392.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.3686, allocations: 1.807 MB / 394.7 MB, free: 316 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.3694, allocations: 140 kB / 394.8 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.3716, allocations: 0.8972 MB / 395.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.3737, allocations: 1.593 MB / 397.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.375, allocations: 0.8038 MB / 398.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005777/0.3808, allocations: 5.105 MB / 403.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3808, allocations: 0 / 403.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3808, allocations: 4 kB / 403.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002862/0.3811, allocations: 0 / 403.2 MB, free: 7.742 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.008078/0.3892, allocations: 3.797 MB / 407 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3893, allocations: 8.031 kB / 407 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/0.3956, allocations: 1.925 MB / 408.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.3994, allocations: 2.001 MB / 410.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3996, allocations: 250.2 kB / 411.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000795/0.4004, allocations: 395.6 kB / 411.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.4176, allocations: 10.05 MB / 421.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.294e-05/0.4178, allocations: 43.61 kB / 421.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.4182, allocations: 155.9 kB / 421.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/0.4209, allocations: 1.861 MB / 423.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.4385, allocations: 8.292 MB / 432 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.273/0.7116, allocations: 39.37 MB / 471.3 MB, free: 86.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/0.7208, allocations: 3.991 MB / 475.3 MB, free: 85.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.7226, allocations: 1.416 MB / 476.8 MB, free: 85.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009288/0.7319, allocations: 7.635 MB / 484.4 MB, free: 80.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.732, allocations: 54.36 kB / 484.4 MB, free: 80.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.868e-06/0.732, allocations: 0 / 484.4 MB, free: 80.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02885/0.7608, allocations: 12.36 MB / 496.8 MB, free: 71.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000955/0.7618, allocations: 1.598 MB / 498.4 MB, free: 69.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005281/0.7671, allocations: 3.796 MB / 0.4904 GB, free: 65.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/0.7675, allocations: 52.11 kB / 0.4905 GB, free: 65.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.7692, allocations: 3.113 MB / 0.4935 GB, free: 62.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/0.77, allocations: 0.6461 MB / 0.4941 GB, free: 61.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.7705, allocations: 124 kB / 0.4943 GB, free: 61.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.7709, allocations: 0.5626 MB / 0.4948 GB, free: 61.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/0.7737, allocations: 2.014 MB / 0.4968 GB, free: 59.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.778, allocations: 5.954 MB / 0.5026 GB, free: 51.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/0.7823, allocations: 3.362 MB / 0.5059 GB, free: 48.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.331e-05/0.7824, allocations: 40 kB / 0.5059 GB, free: 48.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01807/0.8005, allocations: 9.681 MB / 0.5154 GB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.8007, allocations: 64 kB / 0.5154 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009252/0.8099, allocations: 3.737 MB / 0.5191 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009646/0.8196, allocations: 2.661 MB / 0.5217 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/0.8237, allocations: 1.361 MB / 0.523 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007948/0.8316, allocations: 7.202 MB / 0.53 GB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/0.8362, allocations: 399.4 kB / 0.5304 GB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009788/0.8372, allocations: 393.2 kB / 0.5308 GB, free: 22.25 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.003952/0.8412, allocations: 2.007 MB / 0.5328 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/0.842, allocations: 339.6 kB / 0.5331 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/0.848, allocations: 3.119 MB / 0.5361 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00469/0.8527, allocations: 2.681 MB / 0.5387 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.8527, allocations: 3.938 kB / 0.5387 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.8528, allocations: 11.97 kB / 0.5388 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.8663, allocations: 8.554 MB / 0.5471 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8663, allocations: 4 kB / 0.5471 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.8671, allocations: 187.7 kB / 0.5473 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/0.8709, allocations: 1.432 MB / 0.5487 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.8711, allocations: 41 kB / 0.5487 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.8764, allocations: 5.704 MB / 0.5543 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00117/0.8776, allocations: 1.458 MB / 0.5557 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009355/0.887, allocations: 5.281 MB / 0.5609 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.8882, allocations: 380.7 kB / 0.5612 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007628/0.889, allocations: 36.88 kB / 0.5613 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.8906, allocations: 123.8 kB / 0.5614 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.8909, allocations: 89.75 kB / 0.5615 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.891, allocations: 51.97 kB / 0.5615 GB, free: 6.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004754/0.8958, allocations: 2.322 MB / 0.5638 GB, free: 3.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8958, allocations: 0 / 0.5638 GB, free: 3.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005178/0.901, allocations: 1.035 MB / 0.5648 GB, free: 2.801 MB / 398.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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/0.9014, allocations: 166.6 kB / 0.565 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/0.9122, allocations: 5.479 MB / 0.5703 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9122, allocations: 0 / 0.5703 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003953/0.9162, allocations: 2.014 MB / 0.5723 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.9189, allocations: 386.6 kB / 0.5727 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.937, allocations: 10.7 MB / 0.5831 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/0.9418, allocations: 3.107 MB / 0.5861 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004842/0.9467, allocations: 1.803 MB / 0.5879 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/0.9475, allocations: 223.4 kB / 0.5881 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.9475, allocations: 0 / 0.5881 GB, free: 10.72 MB / 430.1 MB Notification: Performance of Templates: time 0.2714/1.219, allocations: 35.96 MB / 0.6232 GB, free: 152.4 MB / 446.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)