Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.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.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.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.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.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.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.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.FreeBodiesEnforceStatesFalse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004025/0.004032, allocations: 354.5 kB / 15.95 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.186/3.186, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005044/0.005044, allocations: 216.9 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4719/0.4719, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006244/0.0006246, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1174, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.393/0.5105, allocations: 89.99 MB / 0.6946 GB, free: 14.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0543/0.5649, allocations: 18.22 MB / 0.7124 GB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/0.585, allocations: 434.9 kB / 0.7128 GB, free: 13.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.6023, allocations: 4.398 MB / 0.7171 GB, free: 8.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05198/0.6544, allocations: 14.97 MB / 0.7317 GB, free: 9.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008097/0.6625, allocations: 1.221 MB / 0.7329 GB, free: 8.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06924/0.7318, allocations: 32.96 MB / 0.7651 GB, free: 7.344 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/0.7523, allocations: 9.497 MB / 0.7744 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/0.7583, allocations: 2.405 MB / 0.7767 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008654/0.767, allocations: 3.774 MB / 0.7804 GB, free: 7.559 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.7692, allocations: 268 kB / 0.7807 GB, free: 7.297 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005077/0.7743, allocations: 1.147 MB / 0.7818 GB, free: 6.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006011/0.7804, allocations: 3.261 MB / 0.785 GB, free: 2.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003335/0.7838, allocations: 1.513 MB / 0.7865 GB, free: 1.355 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.8005, allocations: 10.19 MB / 0.7964 GB, free: 7.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.8006, allocations: 4 kB / 0.7964 GB, free: 7.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.8006, allocations: 4 kB / 0.7964 GB, free: 7.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004755/0.8011, allocations: 0 / 0.7964 GB, free: 7.137 MB / 426.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.02849/0.8296, allocations: 7.573 MB / 0.8038 GB, free: 15.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.8297, allocations: 8.031 kB / 0.8038 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04485/0.8745, allocations: 4.062 MB / 0.8078 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/0.8925, allocations: 5.463 MB / 0.8131 GB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/0.8931, allocations: 468.1 kB / 0.8136 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004941/0.8981, allocations: 0.9637 MB / 0.8145 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6674/1.566, allocations: 17.56 MB / 0.8317 GB, free: 153.4 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006384/1.566, allocations: 87.62 kB / 0.8317 GB, free: 153.3 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003479/1.57, allocations: 288.1 kB / 0.832 GB, free: 153.2 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01067/1.58, allocations: 2.651 MB / 0.8346 GB, free: 152.7 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07438/1.655, allocations: 14.98 MB / 0.8492 GB, free: 143.3 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1991/1.854, allocations: 67.88 MB / 0.9155 GB, free: 74.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04023/1.894, allocations: 7.22 MB / 0.9226 GB, free: 67.14 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/1.906, allocations: 3.477 MB / 0.926 GB, free: 63.66 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04026/1.946, allocations: 15.54 MB / 0.9412 GB, free: 47.78 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.936e-05/1.946, allocations: 68.5 kB / 0.9412 GB, free: 47.71 MB / 442.8 MB Notification: Performance of pre-optimization done (n=261): time 7.745e-06/1.946, allocations: 0 / 0.9412 GB, free: 47.71 MB / 442.8 MB Notification: Performance of matching and sorting (n=265): time 0.1475/2.094, allocations: 27.92 MB / 0.9685 GB, free: 19.36 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/2.094, allocations: 239.6 kB / 0.9687 GB, free: 19.08 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/2.112, allocations: 6.54 MB / 0.9751 GB, free: 12.55 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001171/2.113, allocations: 69.98 kB / 0.9752 GB, free: 12.47 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006057/2.119, allocations: 5.179 MB / 0.9802 GB, free: 7.297 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002558/2.122, allocations: 1.121 MB / 0.9813 GB, free: 6.184 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/2.123, allocations: 199.9 kB / 0.9815 GB, free: 5.988 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0007617/2.124, allocations: 0.7194 MB / 0.9822 GB, free: 5.262 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/2.138, allocations: 3.79 MB / 0.9859 GB, free: 1.465 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3231/2.461, allocations: 9.574 MB / 0.9953 GB, free: 136.6 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/2.475, allocations: 5.821 MB / 1.001 GB, free: 134.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002926/2.476, allocations: 59.59 kB / 1.001 GB, free: 134.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.05221/2.528, allocations: 16.11 MB / 1.017 GB, free: 128.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/2.528, allocations: 92.34 kB / 1.017 GB, free: 128.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02609/2.554, allocations: 7.556 MB / 1.024 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02905/2.583, allocations: 3.977 MB / 1.028 GB, free: 125.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/2.604, allocations: 2.257 MB / 1.03 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02955/2.633, allocations: 13.63 MB / 1.044 GB, free: 109.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/2.651, allocations: 0.6268 MB / 1.044 GB, free: 109.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002929/2.654, allocations: 0.5642 MB / 1.045 GB, free: 108.7 MB / 442.8 MB 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.01411/2.668, allocations: 3.391 MB / 1.048 GB, free: 105.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/2.671, allocations: 0.5651 MB / 1.049 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03688/2.708, allocations: 7.415 MB / 1.056 GB, free: 97.67 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/2.708, allocations: 11.95 kB / 1.056 GB, free: 97.66 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/2.708, allocations: 8.875 kB / 1.056 GB, free: 97.65 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005373/2.713, allocations: 1.078 MB / 1.057 GB, free: 96.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002891/2.716, allocations: 95.95 kB / 1.057 GB, free: 96.76 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008281/2.725, allocations: 273.1 kB / 1.057 GB, free: 96.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001712/2.726, allocations: 197.6 kB / 1.057 GB, free: 96.3 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03731/2.764, allocations: 7.879 MB / 1.065 GB, free: 88.47 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01882/2.783, allocations: 8.602 MB / 1.074 GB, free: 79.87 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005251/2.788, allocations: 2.479 MB / 1.076 GB, free: 77.39 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009377/2.797, allocations: 4.061 MB / 1.08 GB, free: 73.34 MB / 442.8 MB Notification: Performance of Backend: time 1.062e-06/2.797, allocations: 0 / 1.08 GB, free: 73.34 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03221/2.83, allocations: 9.862 MB / 1.09 GB, free: 63.24 MB / 442.8 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1845:5-1847:74:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1845:5-1847:74:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1845:5-1847:74:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1842:5-1844:74:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1842:5-1844:74:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1842:5-1844:74:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of SimCode: time 0.04442/2.874, allocations: 21.15 MB / 1.11 GB, free: 42.07 MB / 442.8 MB Notification: Performance of Templates: time 0.6105/3.485, allocations: 81.9 MB / 1.19 GB, free: 113.1 MB / 442.8 MB