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.001041/0.001041, allocations: 117 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2051, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01102/0.2162, allocations: 10.7 MB / 420.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.2232, allocations: 3.943 MB / 424.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.2243, allocations: 63.81 kB / 424.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.229, allocations: 2.57 MB / 427.2 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.2326, allocations: 1.735 MB / 429 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2339, allocations: 0.6707 MB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.2382, allocations: 3.716 MB / 433.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003776/0.2419, allocations: 3.554 MB / 436.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.2438, allocations: 1.468 MB / 438.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.2462, allocations: 1.951 MB / 440.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000678/0.2469, allocations: 316 kB / 440.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2488, allocations: 1.147 MB / 441.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.2505, allocations: 1.816 MB / 443.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.2528, allocations: 2.12 MB / 445.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006009/0.2589, allocations: 6.638 MB / 452.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2589, allocations: 0 / 452.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2589, allocations: 0 / 452.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.259, allocations: 0 / 452.3 MB, free: 6.98 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.007643/0.2667, allocations: 4.54 MB / 456.9 MB, free: 2.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2667, allocations: 12.02 kB / 456.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/0.2733, allocations: 1.933 MB / 458.8 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.2765, allocations: 1.997 MB / 460.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2767, allocations: 242.2 kB / 461.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007581/0.2774, allocations: 399.6 kB / 461.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.2917, allocations: 10.11 MB / 471.6 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.699e-05/0.2918, allocations: 39.59 kB / 471.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.2922, allocations: 159.9 kB / 471.8 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.2947, allocations: 1.857 MB / 473.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.309, allocations: 8.367 MB / 482 MB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/0.3474, allocations: 39.23 MB / 0.509 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.3575, allocations: 4.035 MB / 0.5129 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.3594, allocations: 1.422 MB / 0.5143 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009912/0.3693, allocations: 7.725 MB / 0.5219 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3694, allocations: 51.5 kB / 0.5219 GB, free: 2.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.831e-06/0.3694, allocations: 0 / 0.5219 GB, free: 2.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02949/0.3989, allocations: 12.11 MB / 0.5338 GB, free: 5.906 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.399, allocations: 149.5 kB / 0.5339 GB, free: 5.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.4034, allocations: 3.8 MB / 0.5376 GB, free: 1.941 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.4035, allocations: 49.64 kB / 0.5377 GB, free: 1.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1674/0.5709, allocations: 3.103 MB / 0.5407 GB, free: 124.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.5717, allocations: 0.6292 MB / 0.5413 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/0.5741, allocations: 1.236 MB / 0.5425 GB, free: 124.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.5741, allocations: 302.4 kB / 0.5428 GB, free: 123.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.577, allocations: 1.955 MB / 0.5447 GB, free: 123.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003512/0.5805, allocations: 5.879 MB / 0.5504 GB, free: 117.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/0.5868, allocations: 8.482 MB / 0.5587 GB, free: 109.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-05/0.5869, allocations: 39.22 kB / 0.5588 GB, free: 109.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01754/0.6044, allocations: 9.642 MB / 0.5682 GB, free: 104.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.6045, allocations: 66.23 kB / 0.5682 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01018/0.6147, allocations: 3.652 MB / 0.5718 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.6256, allocations: 2.722 MB / 0.5745 GB, free: 98.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.6289, allocations: 1.365 MB / 0.5758 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.6422, allocations: 11.56 MB / 0.5871 GB, free: 84.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.6459, allocations: 347.6 kB / 0.5874 GB, free: 84.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/0.6463, allocations: 376 kB / 0.5878 GB, free: 84.12 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.002095/0.6484, allocations: 2.01 MB / 0.5897 GB, free: 82.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.6487, allocations: 324.2 kB / 0.5901 GB, free: 81.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.6492, allocations: 434.5 kB / 0.5905 GB, free: 81.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6492, allocations: 7.922 kB / 0.5905 GB, free: 81.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6492, allocations: 0 / 0.5905 GB, free: 81.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.6496, allocations: 372.7 kB / 0.5908 GB, free: 80.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.6499, allocations: 39.81 kB / 0.5909 GB, free: 80.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.651, allocations: 95.86 kB / 0.591 GB, free: 80.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.6513, allocations: 120 kB / 0.5911 GB, free: 80.71 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005315/0.6566, allocations: 3.364 MB / 0.5944 GB, free: 77.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003443/0.66, allocations: 3.772 MB / 0.598 GB, free: 73.55 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009446/0.661, allocations: 0.9368 MB / 0.599 GB, free: 72.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.6633, allocations: 2.337 MB / 0.6012 GB, free: 70.3 MB / 462.1 MB Notification: Performance of Backend: time 4.31e-07/0.6633, allocations: 0 / 0.6012 GB, free: 70.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007188/0.6705, allocations: 4.944 MB / 0.6061 GB, free: 65.33 MB / 462.1 MB Notification: Performance of SimCode: time 0.009269/0.6798, allocations: 9.214 MB / 0.6151 GB, free: 56.1 MB / 462.1 MB Notification: Performance of Templates: time 0.07948/0.7592, allocations: 45.01 MB / 0.659 GB, free: 11.26 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)