Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.394e-05, allocations: 4 kB / 309.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3867, allocations: 54.85 MB / 364.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.568, allocations: 99.28 MB / 463.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5683, allocations: 75.95 kB / 464 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9431/1.511, allocations: 142.6 MB / 0.5924 GB, free: 96.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.512, allocations: 0 / 0.5924 GB, free: 96.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005455/1.512, allocations: 151.3 kB / 0.5925 GB, free: 96.56 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.0615/1.574, allocations: 8.685 MB / 0.601 GB, free: 91.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.574, allocations: 7.531 kB / 0.601 GB, free: 91.46 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006556/1.58, allocations: 1.297 MB / 0.6023 GB, free: 90.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05866/1.639, allocations: 7.747 MB / 0.6098 GB, free: 82.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04023/1.679, allocations: 10.95 MB / 0.6205 GB, free: 71.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/1.68, allocations: 0.5577 MB / 0.6211 GB, free: 71.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004097/1.684, allocations: 0.7612 MB / 0.6218 GB, free: 70.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05675/1.741, allocations: 17.45 MB / 0.6389 GB, free: 51.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006204/1.742, allocations: 107 kB / 0.639 GB, free: 51.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0036/1.745, allocations: 355.9 kB / 0.6393 GB, free: 50.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003822/1.749, allocations: 1.608 MB / 0.6409 GB, free: 49.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04692/1.796, allocations: 14.03 MB / 0.6546 GB, free: 35.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.517/2.313, allocations: 79.06 MB / 0.7318 GB, free: 50.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0371/2.35, allocations: 6.924 MB / 0.7385 GB, free: 49.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007189/2.358, allocations: 3.209 MB / 0.7417 GB, free: 49.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03657/2.394, allocations: 14.8 MB / 0.7561 GB, free: 46.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/2.394, allocations: 59.88 kB / 0.7562 GB, free: 46.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 6.632e-06/2.394, allocations: 0 / 0.7562 GB, free: 46.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1072/2.502, allocations: 23.05 MB / 0.7787 GB, free: 40.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004851/2.506, allocations: 6.243 MB / 0.7848 GB, free: 34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/2.521, allocations: 5.76 MB / 0.7904 GB, free: 31.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009597/2.522, allocations: 67.11 kB / 0.7905 GB, free: 31.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004495/2.526, allocations: 5.066 MB / 0.7954 GB, free: 27.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002147/2.529, allocations: 1.176 MB / 0.7966 GB, free: 26.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/2.53, allocations: 194.9 kB / 0.7968 GB, free: 26.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007743/2.531, allocations: 0.73 MB / 0.7975 GB, free: 26.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009653/2.541, allocations: 3.84 MB / 0.8012 GB, free: 24.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0137/2.554, allocations: 9.625 MB / 0.8106 GB, free: 15.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/2.568, allocations: 5.969 MB / 0.8164 GB, free: 13.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002509/2.568, allocations: 56 kB / 0.8165 GB, free: 13.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.0579/2.626, allocations: 15.95 MB / 0.8321 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/2.627, allocations: 92.94 kB / 0.8322 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04635/2.673, allocations: 8.261 MB / 0.8402 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0312/2.704, allocations: 3.904 MB / 0.844 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01551/2.72, allocations: 2.304 MB / 0.8463 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02801/2.748, allocations: 13.57 MB / 0.8595 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/2.763, allocations: 0.8643 MB / 0.8604 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002738/2.766, allocations: 0.5898 MB / 0.861 GB, free: 7.07 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1170 * Array equations: 11 * 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 {(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: 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.003926/2.77, allocations: 0.8631 MB / 0.8618 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.772, allocations: 0.5844 MB / 0.8624 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03064/2.802, allocations: 7.549 MB / 0.8698 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02795/2.83, allocations: 6.714 MB / 0.8763 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/2.83, allocations: 15.95 kB / 0.8763 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.049e-05/2.831, allocations: 11.95 kB / 0.8763 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/2.855, allocations: 7.449 MB / 0.8836 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/2.855, allocations: 7.953 kB / 0.8836 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006828/2.862, allocations: 0.5929 MB / 0.8842 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/2.88, allocations: 3.136 MB / 0.8873 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/2.882, allocations: 95.91 kB / 0.8874 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02764/2.909, allocations: 14.04 MB / 0.9011 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008634/2.918, allocations: 6.03 MB / 0.907 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4622/3.38, allocations: 11.66 MB / 0.9183 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/3.383, allocations: 0.6355 MB / 0.919 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002952/3.386, allocations: 79.69 kB / 0.919 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008131/3.394, allocations: 378.5 kB / 0.9194 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/3.396, allocations: 217.4 kB / 0.9196 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000836/3.397, allocations: 93.2 kB / 0.9197 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01327/3.41, allocations: 4.004 MB / 0.9236 GB, free: 162 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/3.41, allocations: 0 / 0.9236 GB, free: 162 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0149/3.425, allocations: 2.03 MB / 0.9256 GB, free: 162 MB / 0.5417 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 () * 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.03803/3.463, allocations: 12.53 MB / 0.9378 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02992/3.493, allocations: 11.18 MB / 0.9487 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/3.493, allocations: 1.531 kB / 0.9487 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01735/3.51, allocations: 5.345 MB / 0.954 GB, free: 156.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008363/3.519, allocations: 0.8289 MB / 0.9548 GB, free: 156.6 MB / 0.5417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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: created linear, non-linear and system jacobian parts: time 0.06448/3.583, allocations: 19.9 MB / 0.9742 GB, free: 148.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/3.597, allocations: 5.408 MB / 0.9795 GB, free: 147 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009404/3.606, allocations: 3.678 MB / 0.9831 GB, free: 144 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/3.606, allocations: 0 / 0.9831 GB, free: 144 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.134/11.74, allocations: 0.5454 GB / 1.528 GB, free: 160.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat