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.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 23.98 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3923, allocations: 54.84 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.5758, allocations: 99.37 MB / 468.7 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5761, allocations: 83.91 kB / 468.8 MB, free: 7.133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9017/1.478, allocations: 142.5 MB / 0.5969 GB, free: 5.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.478, allocations: 0 / 0.5969 GB, free: 5.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006076/1.479, allocations: 163.9 kB / 0.5971 GB, free: 5.188 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.06858/1.547, allocations: 9.279 MB / 0.6062 GB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.547, allocations: 8.031 kB / 0.6062 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006733/1.554, allocations: 1.304 MB / 0.6074 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06186/1.616, allocations: 7.743 MB / 0.615 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04339/1.659, allocations: 11 MB / 0.6257 GB, free: 7.648 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009334/1.66, allocations: 0.5577 MB / 0.6263 GB, free: 7.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/1.665, allocations: 0.7651 MB / 0.627 GB, free: 6.324 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8548/2.519, allocations: 17.6 MB / 0.6442 GB, free: 57.47 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008648/2.52, allocations: 103.3 kB / 0.6443 GB, free: 57.47 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004648/2.525, allocations: 359.9 kB / 0.6447 GB, free: 57.47 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/2.529, allocations: 1.6 MB / 0.6462 GB, free: 57.45 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04847/2.578, allocations: 14.29 MB / 0.6602 GB, free: 57.39 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/2.706, allocations: 79.08 MB / 0.7374 GB, free: 23.47 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03491/2.741, allocations: 6.972 MB / 0.7442 GB, free: 21.31 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03747/2.778, allocations: 14.77 MB / 0.7587 GB, free: 13.8 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/2.778, allocations: 60.47 kB / 0.7587 GB, free: 13.74 MB / 474.8 MB Notification: Performance of pre-optimization done (n=259): time 7.515e-06/2.778, allocations: 0 / 0.7587 GB, free: 13.74 MB / 474.8 MB Notification: Performance of matching and sorting (n=287): time 0.1313/2.91, allocations: 27.8 MB / 0.7859 GB, free: 11.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006518/2.916, allocations: 6.295 MB / 0.792 GB, free: 4.375 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/2.932, allocations: 5.845 MB / 0.7977 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009531/2.933, allocations: 72.23 kB / 0.7978 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006/2.939, allocations: 5.059 MB / 0.8027 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002544/2.941, allocations: 1.179 MB / 0.8039 GB, free: 9.789 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/2.943, allocations: 195.3 kB / 0.8041 GB, free: 9.605 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007859/2.944, allocations: 0.7302 MB / 0.8048 GB, free: 8.992 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/2.955, allocations: 3.951 MB / 0.8086 GB, free: 5.664 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01767/2.973, allocations: 9.732 MB / 0.8181 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/2.989, allocations: 6.005 MB / 0.824 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002152/2.989, allocations: 64 kB / 0.8241 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.432/3.421, allocations: 16.16 MB / 0.8399 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/3.421, allocations: 92.94 kB / 0.8399 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03395/3.455, allocations: 7.738 MB / 0.8475 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02902/3.484, allocations: 3.915 MB / 0.8513 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01397/3.498, allocations: 2.302 MB / 0.8536 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/3.523, allocations: 14 MB / 0.8672 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/3.537, allocations: 0.8654 MB / 0.8681 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/3.54, allocations: 0.5953 MB / 0.8687 GB, free: 102.2 MB / 0.5105 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 () * Number of clocked 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.01035/3.55, allocations: 3.41 MB / 0.872 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/3.552, allocations: 0.588 MB / 0.8726 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02667/3.579, allocations: 7.601 MB / 0.88 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02348/3.602, allocations: 6.772 MB / 0.8866 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-05/3.602, allocations: 6.781 kB / 0.8866 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.645e-05/3.602, allocations: 10.73 kB / 0.8866 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/3.623, allocations: 7.46 MB / 0.8939 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.256e-05/3.623, allocations: 7.406 kB / 0.8939 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006291/3.629, allocations: 0.5965 MB / 0.8945 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/3.646, allocations: 3.141 MB / 0.8976 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009642/3.647, allocations: 91.83 kB / 0.8977 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/3.67, allocations: 14.35 MB / 0.9117 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004787/3.674, allocations: 6.072 MB / 0.9176 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03367/3.708, allocations: 11.76 MB / 0.9291 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/3.711, allocations: 0.6363 MB / 0.9297 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002717/3.713, allocations: 83.56 kB / 0.9298 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007344/3.721, allocations: 378.2 kB / 0.9301 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/3.722, allocations: 214 kB / 0.9303 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005119/3.723, allocations: 94.73 kB / 0.9304 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01165/3.735, allocations: 4.094 MB / 0.9344 GB, free: 79.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.021e-06/3.735, allocations: 0 / 0.9344 GB, free: 79.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0131/3.748, allocations: 2.028 MB / 0.9364 GB, free: 77.09 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.0342/3.782, allocations: 12.63 MB / 0.9487 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02972/3.812, allocations: 11.33 MB / 0.9598 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/3.812, allocations: 0 / 0.9598 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/3.829, allocations: 5.397 MB / 0.9651 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007436/3.836, allocations: 0.831 MB / 0.9659 GB, free: 50.88 MB / 0.5105 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.6118/4.448, allocations: 214.5 MB / 1.175 GB, free: 16.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/4.462, allocations: 5.405 MB / 1.181 GB, free: 15.73 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009834/4.472, allocations: 3.681 MB / 1.184 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of SimCode: time 1.823e-06/4.472, allocations: 0 / 1.184 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.667/13.14, allocations: 0.5448 GB / 1.729 GB, free: 119.1 MB / 0.5574 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