Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 76.16 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3781, allocations: 62.45 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.02222/0.4003, allocations: 20.04 MB / 0.5512 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.4143, allocations: 5.986 MB / 0.5571 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/0.4185, allocations: 143.4 kB / 0.5572 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.4297, allocations: 5.977 MB / 0.5631 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00902/0.4388, allocations: 3.085 MB / 0.5661 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.4422, allocations: 1.447 MB / 0.5675 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.4568, allocations: 9.426 MB / 0.5767 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.4698, allocations: 8.146 MB / 0.5846 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005565/0.4754, allocations: 3.264 MB / 0.5878 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006433/0.4819, allocations: 4.327 MB / 0.5921 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002401/0.4843, allocations: 0.7188 MB / 0.5928 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.489, allocations: 1.694 MB / 0.5944 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005614/0.4946, allocations: 3.983 MB / 0.5983 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009345/0.504, allocations: 4.41 MB / 0.6026 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.5231, allocations: 13.37 MB / 0.6157 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5232, allocations: 4 kB / 0.6157 GB, free: 11.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5232, allocations: 4 kB / 0.6157 GB, free: 11.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000632/0.5238, allocations: 0 / 0.6157 GB, free: 11.35 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.02854/0.5524, allocations: 9.279 MB / 0.6247 GB, free: 1.977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5524, allocations: 12.03 kB / 0.6247 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02584/0.5783, allocations: 3.84 MB / 0.6285 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/0.5974, allocations: 5.482 MB / 0.6338 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/0.598, allocations: 497.2 kB / 0.6343 GB, free: 8.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003988/0.602, allocations: 0.9988 MB / 0.6353 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04229/0.6443, allocations: 18.09 MB / 0.653 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005011/0.6449, allocations: 87.2 kB / 0.653 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002313/0.6472, allocations: 299.8 kB / 0.6533 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004908/0.6521, allocations: 2.745 MB / 0.656 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/0.6898, allocations: 15.43 MB / 0.6711 GB, free: 1.27 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7/1.39, allocations: 69.81 MB / 0.7393 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/1.413, allocations: 7.956 MB / 0.747 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/1.417, allocations: 3.627 MB / 0.7506 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02536/1.442, allocations: 17.97 MB / 0.7681 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/1.442, allocations: 65.75 kB / 0.7682 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 8.486e-06/1.442, allocations: 0 / 0.7682 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.07768/1.52, allocations: 29.23 MB / 0.7967 GB, free: 77.73 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/1.52, allocations: 246.8 kB / 0.797 GB, free: 77.44 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008237/1.528, allocations: 6.565 MB / 0.8034 GB, free: 70.88 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009707/1.529, allocations: 73.7 kB / 0.8034 GB, free: 70.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.532, allocations: 5.252 MB / 0.8086 GB, free: 65.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.534, allocations: 1.259 MB / 0.8098 GB, free: 64.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/1.536, allocations: 2.038 MB / 0.8118 GB, free: 62.26 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/1.537, allocations: 305.1 kB / 0.8121 GB, free: 61.96 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/1.542, allocations: 4.002 MB / 0.816 GB, free: 57.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007512/1.549, allocations: 9.827 MB / 0.8256 GB, free: 45.36 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.566, allocations: 14.74 MB / 0.84 GB, free: 27.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.566, allocations: 61.97 kB / 0.84 GB, free: 27.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05777/1.624, allocations: 20.35 MB / 0.8599 GB, free: 7.395 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/1.624, allocations: 95.94 kB / 0.86 GB, free: 7.301 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04592/1.67, allocations: 11.69 MB / 0.8714 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0599/1.73, allocations: 8.586 MB / 0.8798 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.74, allocations: 2.335 MB / 0.8821 GB, free: 0.5273 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/1.773, allocations: 22.63 MB / 0.9042 GB, free: 9.059 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008817/1.782, allocations: 0.6629 MB / 0.9048 GB, free: 8.395 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/1.784, allocations: 0.5742 MB / 0.9054 GB, free: 7.82 MB / 0.6076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1258): * Single equations (assignments): 1239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * 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): 10 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00786/1.792, allocations: 3.444 MB / 0.9088 GB, free: 4.363 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/1.793, allocations: 0.5785 MB / 0.9093 GB, free: 3.777 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/1.796, allocations: 0.8439 MB / 0.9101 GB, free: 2.926 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/1.796, allocations: 11.95 kB / 0.9102 GB, free: 2.914 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.796, allocations: 4 kB / 0.9102 GB, free: 2.91 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.798, allocations: 0.6028 MB / 0.9107 GB, free: 2.281 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/1.8, allocations: 107.9 kB / 0.9109 GB, free: 2.176 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004333/1.804, allocations: 283 kB / 0.9111 GB, free: 1.902 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.805, allocations: 213.6 kB / 0.9113 GB, free: 1.695 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01886/1.824, allocations: 8.147 MB / 0.9193 GB, free: 9.547 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01431/1.839, allocations: 8.98 MB / 0.9281 GB, free: 496 kB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003764/1.842, allocations: 2.615 MB / 0.9306 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009035/1.851, allocations: 4.081 MB / 0.9346 GB, free: 9.805 MB / 0.6388 GB Notification: Performance of Backend: time 1.693e-06/1.851, allocations: 0 / 0.9346 GB, free: 9.805 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0271/1.879, allocations: 10.26 MB / 0.9446 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of SimCode: time 0.04039/1.919, allocations: 18.15 MB / 0.9623 GB, free: 13.16 MB / 0.6701 GB Notification: Performance of Templates: time 0.4794/2.398, allocations: 96.73 MB / 1.057 GB, free: 190.9 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)