Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002696/0.002701, allocations: 369.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.958/3.958, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003631/0.003631, allocations: 244.1 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5343/0.5343, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006264, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.4702/0.5756, allocations: 90 MB / 0.768 GB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07162/0.6473, allocations: 18.24 MB / 0.7858 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02542/0.6728, allocations: 438.8 kB / 0.7862 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0174/0.6902, allocations: 4.394 MB / 0.7905 GB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05339/0.7437, allocations: 14.98 MB / 0.8051 GB, free: 9.453 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008209/0.7519, allocations: 1.205 MB / 0.8063 GB, free: 8.246 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.072/0.824, allocations: 32.95 MB / 0.8385 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.8456, allocations: 9.497 MB / 0.8478 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.8523, allocations: 2.409 MB / 0.8501 GB, free: 11.24 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009049/0.8614, allocations: 3.766 MB / 0.8538 GB, free: 7.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.8637, allocations: 264 kB / 0.854 GB, free: 7.203 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.8691, allocations: 1.167 MB / 0.8552 GB, free: 6.035 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006413/0.8756, allocations: 3.28 MB / 0.8584 GB, free: 2.746 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003673/0.8793, allocations: 1.501 MB / 0.8599 GB, free: 1.234 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.8965, allocations: 10.2 MB / 0.8698 GB, free: 7.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.8966, allocations: 4 kB / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.8966, allocations: 0 / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004749/0.8971, allocations: 0 / 0.8698 GB, free: 7.012 MB / 458.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.02879/0.9259, allocations: 7.576 MB / 0.8772 GB, free: 15.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.926, allocations: 12.03 kB / 0.8772 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04661/0.9726, allocations: 4.159 MB / 0.8813 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/0.9921, allocations: 5.495 MB / 0.8867 GB, free: 5.594 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006959/0.9928, allocations: 472.1 kB / 0.8871 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005411/0.9982, allocations: 0.9482 MB / 0.888 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05742/1.056, allocations: 17.56 MB / 0.9052 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000506/1.056, allocations: 87.3 kB / 0.9053 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.059, allocations: 287.8 kB / 0.9055 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6146/1.674, allocations: 2.656 MB / 0.9081 GB, free: 171.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05474/1.729, allocations: 14.98 MB / 0.9228 GB, free: 167.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.853, allocations: 67.99 MB / 0.9892 GB, free: 104.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0352/1.888, allocations: 7.218 MB / 0.9962 GB, free: 97.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007074/1.895, allocations: 3.486 MB / 0.9996 GB, free: 93.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/1.928, allocations: 15.63 MB / 1.015 GB, free: 77.66 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/1.928, allocations: 60.56 kB / 1.015 GB, free: 77.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=261): time 7.625e-06/1.928, allocations: 4 kB / 1.015 GB, free: 77.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=265): time 0.1314/2.059, allocations: 27.92 MB / 1.042 GB, free: 49.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/2.059, allocations: 231.6 kB / 1.042 GB, free: 48.98 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01703/2.077, allocations: 6.536 MB / 1.049 GB, free: 42.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001122/2.078, allocations: 70.41 kB / 1.049 GB, free: 42.38 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005571/2.083, allocations: 5.189 MB / 1.054 GB, free: 37.19 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/2.086, allocations: 1.116 MB / 1.055 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.087, allocations: 198.3 kB / 1.055 GB, free: 35.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007673/2.088, allocations: 0.7155 MB / 1.056 GB, free: 35.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/2.1, allocations: 3.88 MB / 1.06 GB, free: 31.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.114, allocations: 9.66 MB / 1.069 GB, free: 18.77 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/2.127, allocations: 5.917 MB / 1.075 GB, free: 12.83 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/2.128, allocations: 63.95 kB / 1.075 GB, free: 12.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.5237/2.651, allocations: 19.71 MB / 1.094 GB, free: 144.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002/2.652, allocations: 92.23 kB / 1.094 GB, free: 144.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07378/2.725, allocations: 11.17 MB / 1.105 GB, free: 142.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07773/2.803, allocations: 8.244 MB / 1.113 GB, free: 141.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.817, allocations: 2.264 MB / 1.115 GB, free: 141.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04797/2.865, allocations: 20.5 MB / 1.136 GB, free: 126.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.876, allocations: 0.648 MB / 1.136 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/2.879, allocations: 0.5653 MB / 1.137 GB, free: 126.1 MB / 490.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.009543/2.888, allocations: 3.394 MB / 1.14 GB, free: 124.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/2.89, allocations: 0.5649 MB / 1.141 GB, free: 124.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/2.916, allocations: 7.413 MB / 1.148 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.987e-05/2.916, allocations: 15.95 kB / 1.148 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.916, allocations: 0 / 1.148 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/2.918, allocations: 0.6107 MB / 1.148 GB, free: 116.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/2.921, allocations: 100.5 kB / 1.149 GB, free: 116.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006343/2.927, allocations: 275.3 kB / 1.149 GB, free: 116.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/2.929, allocations: 190.3 kB / 1.149 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02937/2.958, allocations: 7.883 MB / 1.157 GB, free: 108.4 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01964/2.978, allocations: 8.601 MB / 1.165 GB, free: 100 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005514/2.983, allocations: 2.484 MB / 1.167 GB, free: 97.56 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009505/2.993, allocations: 4.053 MB / 1.171 GB, free: 93.52 MB / 490.8 MB Notification: Performance of Backend: time 1.052e-06/2.993, allocations: 0 / 1.171 GB, free: 93.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03463/3.028, allocations: 10.03 MB / 1.181 GB, free: 83.38 MB / 490.8 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2+maint.om/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.2+maint.om/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.04493/3.073, allocations: 21.14 MB / 1.202 GB, free: 62.27 MB / 490.8 MB Notification: Performance of Templates: time 0.6298/3.702, allocations: 92.72 MB / 1.292 GB, free: 155 MB / 0.4949 GB