Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.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.FreeBodies,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.FreeBodies") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,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.FreeBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.01749/0.2756, allocations: 20.04 MB / 0.5512 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.2862, allocations: 5.983 MB / 0.5571 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.2891, allocations: 139.5 kB / 0.5572 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009036/0.2982, allocations: 5.965 MB / 0.563 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006268/0.3045, allocations: 3.104 MB / 0.5661 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.3071, allocations: 1.439 MB / 0.5675 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.3172, allocations: 9.432 MB / 0.5767 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008056/0.3253, allocations: 8.148 MB / 0.5846 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.3294, allocations: 3.256 MB / 0.5878 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005094/0.3345, allocations: 4.327 MB / 0.592 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.3361, allocations: 0.7188 MB / 0.5927 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.3394, allocations: 1.705 MB / 0.5944 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.343, allocations: 3.975 MB / 0.5983 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00425/0.3473, allocations: 4.406 MB / 0.6026 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.3591, allocations: 13.42 MB / 0.6157 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3591, allocations: 0 / 0.6157 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3591, allocations: 0 / 0.6157 GB, free: 11.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002715/0.3594, allocations: 0 / 0.6157 GB, free: 11.32 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.01595/0.3753, allocations: 9.519 MB / 0.625 GB, free: 1.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3754, allocations: 8.031 kB / 0.625 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01929/0.3947, allocations: 3.896 MB / 0.6288 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009324/0.404, allocations: 5.493 MB / 0.6342 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.4043, allocations: 497.2 kB / 0.6347 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.4064, allocations: 1.01 MB / 0.6356 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02684/0.4333, allocations: 18.09 MB / 0.6533 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.4335, allocations: 83.39 kB / 0.6534 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/0.4342, allocations: 303.8 kB / 0.6537 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003142/0.4373, allocations: 2.749 MB / 0.6564 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.4636, allocations: 15.43 MB / 0.6714 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4729/0.9366, allocations: 69.95 MB / 0.7397 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/0.9552, allocations: 7.958 MB / 0.7475 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.9587, allocations: 3.628 MB / 0.751 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/0.9769, allocations: 17.99 MB / 0.7686 GB, free: 105 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.9769, allocations: 71.41 kB / 0.7687 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 5.23e-06/0.9769, allocations: 0 / 0.7687 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.05547/1.032, allocations: 29.63 MB / 0.7976 GB, free: 77.41 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.032, allocations: 243.6 kB / 0.7979 GB, free: 77.12 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005737/1.038, allocations: 6.582 MB / 0.8043 GB, free: 70.67 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.038, allocations: 77.7 kB / 0.8044 GB, free: 70.59 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.04, allocations: 5.46 MB / 0.8097 GB, free: 65.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/1.041, allocations: 1.316 MB / 0.811 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/1.043, allocations: 2.051 MB / 0.813 GB, free: 62.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/1.043, allocations: 301.1 kB / 0.8133 GB, free: 61.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/1.047, allocations: 3.998 MB / 0.8172 GB, free: 57.89 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/1.052, allocations: 9.828 MB / 0.8268 GB, free: 45.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.063, allocations: 14.75 MB / 0.8412 GB, free: 27.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.837e-05/1.063, allocations: 56 kB / 0.8412 GB, free: 27.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.04128/1.104, allocations: 20.38 MB / 0.8611 GB, free: 7.297 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/1.104, allocations: 95.94 kB / 0.8612 GB, free: 7.203 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03277/1.137, allocations: 11.68 MB / 0.8726 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03696/1.174, allocations: 8.582 MB / 0.881 GB, free: 2.777 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007138/1.181, allocations: 2.332 MB / 0.8833 GB, free: 452 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02996/1.211, allocations: 22.65 MB / 0.9054 GB, free: 8.957 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.218, allocations: 0.6632 MB / 0.906 GB, free: 8.293 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.219, allocations: 0.5779 MB / 0.9066 GB, free: 7.719 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.005247/1.225, allocations: 3.452 MB / 0.91 GB, free: 4.254 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.226, allocations: 0.6092 MB / 0.9106 GB, free: 3.641 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.227, allocations: 0.84 MB / 0.9114 GB, free: 2.793 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.227, allocations: 11.95 kB / 0.9114 GB, free: 2.781 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.227, allocations: 8 kB / 0.9114 GB, free: 2.773 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/1.228, allocations: 0.6374 MB / 0.912 GB, free: 2.113 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/1.229, allocations: 107.2 kB / 0.9121 GB, free: 2.012 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.231, allocations: 279.6 kB / 0.9124 GB, free: 1.738 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005279/1.232, allocations: 213.6 kB / 0.9126 GB, free: 1.531 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01431/1.246, allocations: 8.145 MB / 0.9206 GB, free: 9.383 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01053/1.257, allocations: 9.015 MB / 0.9294 GB, free: 300 kB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003039/1.26, allocations: 2.604 MB / 0.9319 GB, free: 13.69 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005503/1.265, allocations: 4.081 MB / 0.9359 GB, free: 9.621 MB / 0.6388 GB Notification: Performance of Backend: time 3.8e-07/1.265, allocations: 4 kB / 0.9359 GB, free: 9.617 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0175/1.283, allocations: 10.27 MB / 0.9459 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of SimCode: time 0.02656/1.309, allocations: 18.44 MB / 0.9639 GB, free: 12.63 MB / 0.6701 GB Notification: Performance of Templates: time 0.4228/1.732, allocations: 96.74 MB / 1.058 GB, free: 190.4 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1)