Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 117.9 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.001228/0.001228, allocations: 210.8 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.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 83.86 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3287, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01188/0.3406, allocations: 10.96 MB / 0.5424 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.3492, allocations: 4.08 MB / 0.5463 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.3512, allocations: 66.78 kB / 0.5464 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.3563, allocations: 2.56 MB / 0.5489 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.3614, allocations: 1.77 MB / 0.5506 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3633, allocations: 0.733 MB / 0.5513 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.3689, allocations: 4.227 MB / 0.5555 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.373, allocations: 3.332 MB / 0.5587 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.3755, allocations: 1.487 MB / 0.5602 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.3788, allocations: 1.947 MB / 0.5621 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009692/0.3798, allocations: 316 kB / 0.5624 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.3825, allocations: 1.237 MB / 0.5636 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.3848, allocations: 1.886 MB / 0.5654 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.3885, allocations: 2.124 MB / 0.5675 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008988/0.3975, allocations: 6.76 MB / 0.5741 GB, free: 6.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3975, allocations: 0 / 0.5741 GB, free: 6.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3976, allocations: 0 / 0.5741 GB, free: 6.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002392/0.3978, allocations: 0 / 0.5741 GB, free: 6.055 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.009857/0.4077, allocations: 4.599 MB / 0.5786 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4077, allocations: 12.03 kB / 0.5786 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/0.4146, allocations: 1.953 MB / 0.5805 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.4201, allocations: 2.331 MB / 0.5828 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.4203, allocations: 234.4 kB / 0.583 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.4216, allocations: 407.4 kB / 0.5834 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.4382, allocations: 9.713 MB / 0.5929 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.4384, allocations: 43.59 kB / 0.5929 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007013/0.4391, allocations: 151.8 kB / 0.5931 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.4415, allocations: 1.755 MB / 0.5948 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.4577, allocations: 8.196 MB / 0.6028 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/0.5016, allocations: 38.3 MB / 0.6402 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008918/0.5105, allocations: 3.754 MB / 0.6439 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.5126, allocations: 1.572 MB / 0.6454 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.5228, allocations: 7.823 MB / 0.653 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.5228, allocations: 51.5 kB / 0.6531 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 5.05e-06/0.5229, allocations: 3.984 kB / 0.6531 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=154): time 0.03495/0.5578, allocations: 13.74 MB / 0.6665 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.5579, allocations: 141.5 kB / 0.6666 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/0.5633, allocations: 3.818 MB / 0.6704 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.5634, allocations: 57.62 kB / 0.6704 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002058/0.5655, allocations: 3.031 MB / 0.6734 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/0.5663, allocations: 0.6251 MB / 0.674 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.5678, allocations: 1.194 MB / 0.6752 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.5679, allocations: 309 kB / 0.6755 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.5707, allocations: 1.932 MB / 0.6773 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/0.5757, allocations: 5.636 MB / 0.6828 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008672/0.5844, allocations: 8.203 MB / 0.6909 GB, free: 7.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.946e-05/0.5845, allocations: 36 kB / 0.6909 GB, free: 7.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02046/0.605, allocations: 9.104 MB / 0.6998 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.6052, allocations: 64.94 kB / 0.6998 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01042/0.6156, allocations: 3.389 MB / 0.7032 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.6257, allocations: 2.355 MB / 0.7055 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004326/0.6301, allocations: 1.353 MB / 0.7068 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.6404, allocations: 6.948 MB / 0.7136 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/0.6449, allocations: 343.5 kB / 0.7139 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008424/0.6458, allocations: 360 kB / 0.7142 GB, free: 15.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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): 730 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003589/0.6494, allocations: 2.006 MB / 0.7162 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006502/0.65, allocations: 323.8 kB / 0.7165 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/0.651, allocations: 440.8 kB / 0.7169 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.651, allocations: 3.984 kB / 0.7169 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6511, allocations: 4 kB / 0.7169 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.6517, allocations: 372.7 kB / 0.7173 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/0.6522, allocations: 55.91 kB / 0.7173 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.6534, allocations: 103.8 kB / 0.7174 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.6537, allocations: 88.81 kB / 0.7175 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005757/0.6594, allocations: 3.253 MB / 0.7207 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004776/0.6642, allocations: 4.059 MB / 0.7247 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001336/0.6656, allocations: 1.043 MB / 0.7257 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004397/0.67, allocations: 2.358 MB / 0.728 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Backend: time 8.81e-07/0.67, allocations: 0 / 0.728 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2805/0.9506, allocations: 4.667 MB / 0.7325 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01556/0.9662, allocations: 9.31 MB / 0.7416 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06875/1.035, allocations: 44.06 MB / 0.7847 GB, free: 139.7 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)