Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003934/0.003939, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.659/3.659, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003582/0.003582, allocations: 229.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4711/0.4711, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006489/0.000649, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09866, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.4321/0.5308, allocations: 89.99 MB / 0.6946 GB, free: 22.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04844/0.5793, allocations: 18.21 MB / 0.7124 GB, free: 4.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01942/0.5987, allocations: 434.9 kB / 0.7128 GB, free: 4.074 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01528/0.6141, allocations: 4.402 MB / 0.7171 GB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05445/0.6686, allocations: 14.97 MB / 0.7317 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.6789, allocations: 1.218 MB / 0.7329 GB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4695/1.148, allocations: 32.95 MB / 0.7651 GB, free: 30.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02576/1.174, allocations: 9.486 MB / 0.7744 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008113/1.182, allocations: 2.41 MB / 0.7767 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009531/1.192, allocations: 3.765 MB / 0.7804 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/1.194, allocations: 266.1 kB / 0.7807 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005224/1.199, allocations: 1.158 MB / 0.7818 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00648/1.206, allocations: 3.263 MB / 0.785 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003674/1.21, allocations: 1.509 MB / 0.7865 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/1.225, allocations: 10.19 MB / 0.7964 GB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.225, allocations: 0 / 0.7964 GB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.719e-06/1.225, allocations: 3.312 kB / 0.7964 GB, free: 27.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004641/1.225, allocations: 2.344 kB / 0.7964 GB, free: 27.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.02631/1.252, allocations: 7.575 MB / 0.8038 GB, free: 22.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.252, allocations: 7.188 kB / 0.8038 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04305/1.295, allocations: 4.066 MB / 0.8078 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/1.311, allocations: 5.464 MB / 0.8131 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/1.311, allocations: 468.8 kB / 0.8136 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004635/1.316, allocations: 0.9735 MB / 0.8145 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/1.364, allocations: 17.56 MB / 0.8317 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000345/1.365, allocations: 80.55 kB / 0.8317 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.366, allocations: 293 kB / 0.832 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005842/1.372, allocations: 2.654 MB / 0.8346 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05065/1.423, allocations: 14.98 MB / 0.8492 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/1.561, allocations: 67.83 MB / 0.9155 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03768/1.599, allocations: 7.205 MB / 0.9225 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009013/1.608, allocations: 3.463 MB / 0.9259 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04347/1.651, allocations: 15.46 MB / 0.941 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/1.651, allocations: 56.56 kB / 0.9411 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=261): time 8.065e-06/1.651, allocations: 2.625 kB / 0.9411 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.6648/2.316, allocations: 27.84 MB / 0.9682 GB, free: 193.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/2.316, allocations: 235 kB / 0.9685 GB, free: 193.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0164/2.333, allocations: 6.543 MB / 0.9749 GB, free: 190.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/2.334, allocations: 69.08 kB / 0.9749 GB, free: 190.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004903/2.339, allocations: 5.182 MB / 0.98 GB, free: 186.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002244/2.341, allocations: 1.123 MB / 0.9811 GB, free: 185.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/2.343, allocations: 194.5 kB / 0.9813 GB, free: 185.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006468/2.343, allocations: 0.7228 MB / 0.982 GB, free: 185.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009759/2.353, allocations: 3.773 MB / 0.9857 GB, free: 184 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/2.366, allocations: 9.559 MB / 0.995 GB, free: 174.9 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/2.38, allocations: 5.797 MB / 1.001 GB, free: 172.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/2.38, allocations: 57.59 kB / 1.001 GB, free: 172.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.06477/2.445, allocations: 16.06 MB / 1.016 GB, free: 161.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/2.445, allocations: 92 kB / 1.016 GB, free: 161.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03597/2.481, allocations: 7.525 MB / 1.024 GB, free: 155.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02094/2.502, allocations: 3.975 MB / 1.028 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01344/2.515, allocations: 2.261 MB / 1.03 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/2.535, allocations: 13.62 MB / 1.043 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/2.547, allocations: 0.6318 MB / 1.044 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/2.549, allocations: 0.5702 MB / 1.044 GB, free: 134.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 75 (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.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 (1213): * Single equations (assignments): 1194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 10 {(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: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01011/2.56, allocations: 3.388 MB / 1.048 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/2.562, allocations: 0.5669 MB / 1.048 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03837/2.6, allocations: 7.396 MB / 1.055 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001103/2.6, allocations: 11.95 kB / 1.055 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/2.6, allocations: 4 kB / 1.055 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00638/2.607, allocations: 1.071 MB / 1.057 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003546/2.61, allocations: 101.4 kB / 1.057 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009804/2.62, allocations: 271.6 kB / 1.057 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/2.622, allocations: 193.6 kB / 1.057 GB, free: 121 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04297/2.665, allocations: 7.824 MB / 1.065 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02765/2.693, allocations: 8.526 MB / 1.073 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005102/2.698, allocations: 2.46 MB / 1.075 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009354/2.707, allocations: 4.053 MB / 1.079 GB, free: 98.09 MB / 0.4949 GB Notification: Performance of Backend: time 9.21e-07/2.707, allocations: 0 / 1.079 GB, free: 98.09 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03314/2.74, allocations: 9.841 MB / 1.089 GB, free: 88.02 MB / 0.4949 GB Notification: Performance of SimCode: time 0.0464/2.787, allocations: 21.14 MB / 1.11 GB, free: 67.17 MB / 0.4949 GB Notification: Performance of Templates: time 0.5388/3.326, allocations: 81.65 MB / 1.189 GB, free: 171.5 MB / 0.4949 GB