Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 109.9 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.001929, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2182, allocations: 50.53 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0109/0.2292, allocations: 10.7 MB / 420.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006917/0.2361, allocations: 3.943 MB / 424.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2372, allocations: 63.81 kB / 424.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.2418, allocations: 2.577 MB / 427.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.2454, allocations: 1.77 MB / 429 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2467, allocations: 0.6863 MB / 429.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.2508, allocations: 3.716 MB / 433.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.2545, allocations: 3.558 MB / 437 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.2564, allocations: 1.46 MB / 438.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.2587, allocations: 1.954 MB / 440.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.2593, allocations: 316 kB / 440.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.2611, allocations: 1.139 MB / 441.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.2625, allocations: 1.816 MB / 443.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.2641, allocations: 2.12 MB / 445.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005445/0.2696, allocations: 6.672 MB / 452.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2696, allocations: 4 kB / 452.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2696, allocations: 4 kB / 452.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.641e-05/0.2697, allocations: 0 / 452.4 MB, free: 6.852 MB / 366.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.006495/0.2762, allocations: 4.659 MB / 457.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2762, allocations: 8.031 kB / 457.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.2827, allocations: 1.956 MB / 459.1 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.2857, allocations: 2.006 MB / 461.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.2859, allocations: 246.2 kB / 461.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007484/0.2867, allocations: 387.8 kB / 461.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.3007, allocations: 10.12 MB / 471.8 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/0.3008, allocations: 43.64 kB / 471.8 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005301/0.3013, allocations: 155.9 kB / 472 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.3039, allocations: 1.86 MB / 473.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.318, allocations: 8.367 MB / 482.2 MB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.3592, allocations: 39.31 MB / 0.5093 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.3694, allocations: 4.031 MB / 0.5132 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.3714, allocations: 1.423 MB / 0.5146 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009855/0.3813, allocations: 7.739 MB / 0.5222 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3813, allocations: 47.56 kB / 0.5222 GB, free: 1.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.601e-06/0.3813, allocations: 0 / 0.5222 GB, free: 1.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02929/0.4106, allocations: 12.32 MB / 0.5343 GB, free: 5.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.4107, allocations: 145.5 kB / 0.5344 GB, free: 5.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004826/0.4155, allocations: 3.82 MB / 0.5381 GB, free: 1.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4157, allocations: 49.7 kB / 0.5382 GB, free: 1.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.174/0.5897, allocations: 3.236 MB / 0.5413 GB, free: 124.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000742/0.5905, allocations: 0.6507 MB / 0.542 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002193/0.5927, allocations: 1.249 MB / 0.5432 GB, free: 123.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.5928, allocations: 306.7 kB / 0.5435 GB, free: 123.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.5956, allocations: 1.957 MB / 0.5454 GB, free: 122.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/0.5993, allocations: 5.878 MB / 0.5511 GB, free: 116.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/0.6057, allocations: 8.485 MB / 0.5594 GB, free: 109.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.639e-05/0.6058, allocations: 38.03 kB / 0.5595 GB, free: 109.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01738/0.6232, allocations: 9.657 MB / 0.5689 GB, free: 103.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.6233, allocations: 64 kB / 0.569 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01005/0.6334, allocations: 3.653 MB / 0.5725 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.6441, allocations: 2.722 MB / 0.5752 GB, free: 97.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.6471, allocations: 1.361 MB / 0.5765 GB, free: 96.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.6604, allocations: 11.57 MB / 0.5878 GB, free: 84.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.6637, allocations: 348.8 kB / 0.5881 GB, free: 83.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.6641, allocations: 380 kB / 0.5885 GB, free: 83.56 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 (737): * Single equations (assignments): 729 * 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 {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001942/0.666, allocations: 2 MB / 0.5905 GB, free: 81.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.6663, allocations: 349.7 kB / 0.5908 GB, free: 81.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.6669, allocations: 430.7 kB / 0.5912 GB, free: 80.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6669, allocations: 11.91 kB / 0.5912 GB, free: 80.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6669, allocations: 0 / 0.5912 GB, free: 80.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.6673, allocations: 377 kB / 0.5916 GB, free: 80.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/0.6676, allocations: 35.98 kB / 0.5916 GB, free: 80.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6687, allocations: 99.38 kB / 0.5917 GB, free: 80.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.669, allocations: 116.8 kB / 0.5918 GB, free: 80.23 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005506/0.6745, allocations: 3.375 MB / 0.5951 GB, free: 76.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003668/0.6781, allocations: 3.786 MB / 0.5988 GB, free: 73.07 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009713/0.6791, allocations: 0.9407 MB / 0.5997 GB, free: 72.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.6814, allocations: 2.333 MB / 0.602 GB, free: 69.81 MB / 462.1 MB Notification: Performance of Backend: time 2.41e-07/0.6814, allocations: 0 / 0.602 GB, free: 69.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00714/0.6886, allocations: 4.948 MB / 0.6068 GB, free: 64.85 MB / 462.1 MB Notification: Performance of SimCode: time 0.009129/0.6977, allocations: 9.381 MB / 0.616 GB, free: 55.45 MB / 462.1 MB Notification: Performance of Templates: time 0.05926/0.757, allocations: 45.01 MB / 0.66 GB, free: 10.62 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)