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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01013/0.01013, allocations: 165.6 kB / 15.11 MB, free: 6 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 1.902/1.902, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002086/0.002086, allocations: 111.4 kB / 226.2 MB, free: 10.1 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.4465/0.4465, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004795, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5528, allocations: 92.68 MB / 0.4925 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5531, allocations: 70.47 kB / 0.4926 GB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8834/1.437, allocations: 142.3 MB / 0.6316 GB, free: 69.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.437, allocations: 3.062 kB / 0.6316 GB, free: 69.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006257/1.437, allocations: 154.6 kB / 0.6317 GB, free: 69.54 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.06521/1.502, allocations: 9.292 MB / 0.6408 GB, free: 66.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.503, allocations: 9.781 kB / 0.6408 GB, free: 66.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006875/1.509, allocations: 1.304 MB / 0.6421 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05857/1.568, allocations: 7.684 MB / 0.6496 GB, free: 65.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03876/1.607, allocations: 10.97 MB / 0.6603 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007469/1.608, allocations: 0.5595 MB / 0.6609 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004092/1.612, allocations: 0.759 MB / 0.6616 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06103/1.673, allocations: 17.61 MB / 0.6788 GB, free: 55.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007515/1.674, allocations: 104.7 kB / 0.6789 GB, free: 55.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004237/1.678, allocations: 357.7 kB / 0.6792 GB, free: 55.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005148/1.683, allocations: 1.603 MB / 0.6808 GB, free: 54.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06438/1.748, allocations: 14.3 MB / 0.6948 GB, free: 47.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5011/2.249, allocations: 79.05 MB / 0.772 GB, free: 46.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03575/2.285, allocations: 6.964 MB / 0.7788 GB, free: 45.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03605/2.321, allocations: 14.74 MB / 0.7932 GB, free: 42.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/2.321, allocations: 67.34 kB / 0.7932 GB, free: 42.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=259): time 7.855e-06/2.321, allocations: 0 / 0.7932 GB, free: 42.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=287): time 0.1276/2.448, allocations: 27.8 MB / 0.8204 GB, free: 36.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006129/2.455, allocations: 6.307 MB / 0.8265 GB, free: 30.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/2.47, allocations: 5.855 MB / 0.8323 GB, free: 30.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/2.472, allocations: 66.33 kB / 0.8323 GB, free: 30.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005879/2.477, allocations: 5.273 MB / 0.8375 GB, free: 26.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002303/2.48, allocations: 1.185 MB / 0.8386 GB, free: 25.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/2.481, allocations: 188.9 kB / 0.8388 GB, free: 25.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007775/2.482, allocations: 0.7196 MB / 0.8395 GB, free: 24.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.493, allocations: 3.922 MB / 0.8433 GB, free: 23.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/2.508, allocations: 9.719 MB / 0.8528 GB, free: 14.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/2.523, allocations: 5.972 MB / 0.8587 GB, free: 12.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002597/2.523, allocations: 58.47 kB / 0.8587 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04946/2.572, allocations: 15.43 MB / 0.8738 GB, free: 7.227 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/2.573, allocations: 96.11 kB / 0.8739 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02255/2.595, allocations: 6.798 MB / 0.8805 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01599/2.611, allocations: 2.844 MB / 0.8833 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01622/2.627, allocations: 2.346 MB / 0.8856 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.645, allocations: 11.39 MB / 0.8967 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/2.659, allocations: 0.8578 MB / 0.8975 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/2.662, allocations: 0.5948 MB / 0.8981 GB, free: 4.598 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * 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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0106/2.672, allocations: 3.414 MB / 0.9015 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/2.674, allocations: 0.5823 MB / 0.902 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03866/2.713, allocations: 8.164 MB / 0.91 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0266/2.74, allocations: 6.768 MB / 0.9166 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.628e-05/2.74, allocations: 8 kB / 0.9166 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.189e-05/2.74, allocations: 10.59 kB / 0.9166 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/2.763, allocations: 7.463 MB / 0.9239 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.171e-05/2.763, allocations: 3.938 kB / 0.9239 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00666/2.769, allocations: 0.6006 MB / 0.9245 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01849/2.788, allocations: 3.136 MB / 0.9276 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.789, allocations: 95.91 kB / 0.9277 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/2.817, allocations: 14.35 MB / 0.9417 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006133/2.823, allocations: 6.082 MB / 0.9476 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4015/3.225, allocations: 11.75 MB / 0.9591 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005245/3.23, allocations: 1.132 MB / 0.9602 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00265/3.233, allocations: 81.34 kB / 0.9603 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008161/3.241, allocations: 378.2 kB / 0.9606 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/3.243, allocations: 212.7 kB / 0.9608 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004413/3.243, allocations: 98.67 kB / 0.9609 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01375/3.257, allocations: 4.091 MB / 0.9649 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/3.257, allocations: 4.562 kB / 0.9649 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01529/3.272, allocations: 2.004 MB / 0.9669 GB, free: 139.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],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],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.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],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],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],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],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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 Backend phase and start with SimCode phase: time 0.03891/3.311, allocations: 12.6 MB / 0.9792 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0334/3.345, allocations: 10.84 MB / 0.9898 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/3.345, allocations: 3.938 kB / 0.9898 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01878/3.363, allocations: 5.385 MB / 0.995 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008562/3.372, allocations: 0.8177 MB / 0.9958 GB, free: 135.7 MB / 0.5105 GB [/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: created linear, non-linear and system jacobian parts: time 0.5785/3.951, allocations: 212.7 MB / 1.204 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01673/3.967, allocations: 5.398 MB / 1.209 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0154/3.983, allocations: 2.934 MB / 1.212 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/3.993, allocations: 3.617 MB / 1.215 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/3.993, allocations: 3.969 kB / 1.215 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7314/4.724, allocations: 144.4 MB / 1.356 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/4.725, allocations: 225.5 kB / 1.356 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/12.86, allocations: 0 / 1.356 GB, free: 137.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat