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.00128/0.00128, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3326, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.02075/0.3534, allocations: 20.04 MB / 0.5512 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.3681, allocations: 5.99 MB / 0.5571 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004406/0.3726, allocations: 139.5 kB / 0.5572 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.3839, allocations: 5.965 MB / 0.563 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.3927, allocations: 3.002 MB / 0.566 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.3963, allocations: 1.447 MB / 0.5674 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0131/0.4094, allocations: 9.426 MB / 0.5766 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.4211, allocations: 8.134 MB / 0.5845 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006647/0.4278, allocations: 3.268 MB / 0.5877 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006976/0.4348, allocations: 4.331 MB / 0.5919 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.4375, allocations: 0.7188 MB / 0.5926 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.4423, allocations: 1.69 MB / 0.5943 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005275/0.4476, allocations: 3.986 MB / 0.5982 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007598/0.4552, allocations: 4.406 MB / 0.6025 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.4715, allocations: 13.37 MB / 0.6155 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4715, allocations: 0 / 0.6155 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4715, allocations: 0 / 0.6155 GB, free: 11.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000448/0.472, allocations: 0 / 0.6155 GB, free: 11.49 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.02339/0.4954, allocations: 9.291 MB / 0.6246 GB, free: 2.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4955, allocations: 8.031 kB / 0.6246 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02333/0.5188, allocations: 3.844 MB / 0.6284 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.5309, allocations: 5.478 MB / 0.6337 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/0.5315, allocations: 497.2 kB / 0.6342 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003352/0.5349, allocations: 1.003 MB / 0.6352 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03875/0.5736, allocations: 18.09 MB / 0.6529 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/0.5741, allocations: 87.2 kB / 0.6529 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002033/0.5762, allocations: 299.8 kB / 0.6532 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004187/0.5804, allocations: 2.745 MB / 0.6559 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03364/0.614, allocations: 15.43 MB / 0.671 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6185/1.233, allocations: 69.82 MB / 0.7391 GB, free: 118.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.254, allocations: 7.951 MB / 0.7469 GB, free: 117.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004715/1.259, allocations: 3.63 MB / 0.7505 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02494/1.284, allocations: 17.96 MB / 0.768 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/1.284, allocations: 68.72 kB / 0.7681 GB, free: 105.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 6.522e-06/1.284, allocations: 0 / 0.7681 GB, free: 105.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.07151/1.356, allocations: 29.23 MB / 0.7966 GB, free: 77.79 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.356, allocations: 239.6 kB / 0.7968 GB, free: 77.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/1.363, allocations: 6.569 MB / 0.8033 GB, free: 70.94 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006336/1.363, allocations: 69.7 kB / 0.8033 GB, free: 70.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.366, allocations: 5.256 MB / 0.8085 GB, free: 65.61 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.367, allocations: 1.262 MB / 0.8097 GB, free: 64.36 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/1.369, allocations: 2.038 MB / 0.8117 GB, free: 62.31 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/1.369, allocations: 301.1 kB / 0.812 GB, free: 62.01 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/1.374, allocations: 3.998 MB / 0.8159 GB, free: 58.01 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006635/1.38, allocations: 9.828 MB / 0.8255 GB, free: 45.41 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/1.393, allocations: 14.75 MB / 0.8399 GB, free: 27.94 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.393, allocations: 63.94 kB / 0.8399 GB, free: 27.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.0488/1.442, allocations: 20.34 MB / 0.8598 GB, free: 7.441 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.442, allocations: 92 kB / 0.8599 GB, free: 7.352 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03635/1.479, allocations: 11.69 MB / 0.8713 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04073/1.519, allocations: 8.582 MB / 0.8797 GB, free: 2.922 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/1.528, allocations: 2.339 MB / 0.882 GB, free: 0.5781 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03256/1.56, allocations: 22.64 MB / 0.9041 GB, free: 9.105 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/1.568, allocations: 0.6591 MB / 0.9047 GB, free: 8.445 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/1.57, allocations: 0.5742 MB / 0.9053 GB, free: 7.871 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.006643/1.577, allocations: 3.455 MB / 0.9086 GB, free: 4.406 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.578, allocations: 0.5823 MB / 0.9092 GB, free: 3.816 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/1.581, allocations: 0.84 MB / 0.91 GB, free: 2.969 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-05/1.581, allocations: 11.95 kB / 0.91 GB, free: 2.957 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.581, allocations: 0 / 0.91 GB, free: 2.957 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.582, allocations: 0.6067 MB / 0.9106 GB, free: 2.324 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.583, allocations: 103.5 kB / 0.9107 GB, free: 2.227 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/1.587, allocations: 283.6 kB / 0.911 GB, free: 1.949 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007885/1.588, allocations: 216.8 kB / 0.9112 GB, free: 1.742 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01709/1.605, allocations: 8.148 MB / 0.9192 GB, free: 9.594 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01257/1.617, allocations: 8.972 MB / 0.9279 GB, free: 0.5391 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003605/1.621, allocations: 2.619 MB / 0.9305 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007751/1.629, allocations: 4.077 MB / 0.9345 GB, free: 9.855 MB / 0.6388 GB Notification: Performance of Backend: time 8.81e-07/1.629, allocations: 0 / 0.9345 GB, free: 9.855 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02368/1.652, allocations: 10.27 MB / 0.9445 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03323/1.686, allocations: 18.14 MB / 0.9622 GB, free: 13.21 MB / 0.6701 GB Notification: Performance of Templates: time 0.4059/2.092, allocations: 98.14 MB / 1.058 GB, free: 189.7 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)