Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.832e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 54.84 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.561, allocations: 98.6 MB / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5613, allocations: 75.95 kB / 453 MB, free: 15.6 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6721:35-6721:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6722:13-6722:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6743:35-6743:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6744:13-6744:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6765:35-6765:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6766:13-6766:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6793:35-6793:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6794:13-6794:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6805:35-6805:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6806:13-6806:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8585/1.42, allocations: 139.1 MB / 0.5782 GB, free: 48.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.42, allocations: 0 / 0.5782 GB, free: 48.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005276/1.42, allocations: 160 kB / 0.5784 GB, free: 48.2 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.06828/1.489, allocations: 8.679 MB / 0.5868 GB, free: 39.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.489, allocations: 8.031 kB / 0.5868 GB, free: 39.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07481/1.564, allocations: 7.749 MB / 0.5944 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03852/1.602, allocations: 10.94 MB / 0.6051 GB, free: 20.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004713/1.603, allocations: 248 kB / 0.6053 GB, free: 20.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003596/1.606, allocations: 447.8 kB / 0.6058 GB, free: 19.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02501/1.631, allocations: 10.04 MB / 0.6156 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04158/1.673, allocations: 15.13 MB / 0.6303 GB, free: 9.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005456/1.674, allocations: 99.11 kB / 0.6304 GB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002891/1.677, allocations: 52 kB / 0.6305 GB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004445/1.681, allocations: 1.605 MB / 0.632 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8916/2.573, allocations: 77.61 MB / 0.7078 GB, free: 52.22 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/2.585, allocations: 4.354 MB / 0.7121 GB, free: 51.55 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02078/2.606, allocations: 3.039 MB / 0.7151 GB, free: 51.51 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/2.606, allocations: 48.17 kB / 0.7151 GB, free: 51.51 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/2.606, allocations: 67.19 kB / 0.7152 GB, free: 51.47 MB / 474.8 MB Notification: Performance of pre-optimization done (n=265): time 2.709e-05/2.607, allocations: 0 / 0.7152 GB, free: 51.47 MB / 474.8 MB Notification: Performance of matching and sorting (n=293): time 0.09486/2.701, allocations: 21.59 MB / 0.7363 GB, free: 46.8 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/2.702, allocations: 233.9 kB / 0.7365 GB, free: 46.55 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/2.715, allocations: 5.145 MB / 0.7415 GB, free: 46.05 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000975/2.716, allocations: 29.48 kB / 0.7415 GB, free: 46.02 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004939/2.721, allocations: 5.298 MB / 0.7467 GB, free: 43.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002269/2.724, allocations: 1.176 MB / 0.7478 GB, free: 42.26 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/2.725, allocations: 0 / 0.7478 GB, free: 42.26 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00107/2.727, allocations: 0.7272 MB / 0.7486 GB, free: 41.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009339/2.736, allocations: 3.695 MB / 0.7522 GB, free: 40.45 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/2.75, allocations: 9.57 MB / 0.7615 GB, free: 31.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.763, allocations: 5.81 MB / 0.7672 GB, free: 29.38 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002871/2.763, allocations: 59.09 kB / 0.7672 GB, free: 29.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.05628/2.819, allocations: 15.01 MB / 0.7819 GB, free: 23.62 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.82, allocations: 92 kB / 0.782 GB, free: 23.53 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03298/2.853, allocations: 7.487 MB / 0.7893 GB, free: 17.67 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02826/2.881, allocations: 3.853 MB / 0.7931 GB, free: 15.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/2.896, allocations: 2.354 MB / 0.7954 GB, free: 13.07 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/2.918, allocations: 13.11 MB / 0.8082 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/2.933, allocations: 0.6741 MB / 0.8088 GB, free: 320 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00516/2.938, allocations: 0.7289 MB / 0.8095 GB, free: 0 / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 (1225): * Single equations (assignments): 1200 * 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.004827/2.943, allocations: 0.6467 MB / 0.8102 GB, free: 15.35 MB / 490.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02927/2.972, allocations: 7.463 MB / 0.8175 GB, free: 9.305 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002647/2.975, allocations: 0.5554 MB / 0.818 GB, free: 8.742 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02966/3.004, allocations: 7.315 MB / 0.8251 GB, free: 3.039 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02892/3.033, allocations: 6.747 MB / 0.8317 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/3.033, allocations: 4 kB / 0.8317 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/3.034, allocations: 19.14 kB / 0.8317 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03717/3.071, allocations: 10.99 MB / 0.8425 GB, free: 4.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/3.071, allocations: 4 kB / 0.8425 GB, free: 4.145 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006609/3.077, allocations: 0.6046 MB / 0.8431 GB, free: 3.539 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01798/3.095, allocations: 3.072 MB / 0.8461 GB, free: 436 kB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/3.097, allocations: 67.86 kB / 0.8461 GB, free: 368 kB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0256/3.122, allocations: 13.75 MB / 0.8596 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4836/3.606, allocations: 5.781 MB / 0.8652 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/3.643, allocations: 11.52 MB / 0.8765 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/3.646, allocations: 0.5947 MB / 0.877 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002713/3.648, allocations: 33.38 kB / 0.8771 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007125/3.655, allocations: 336.4 kB / 0.8774 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/3.657, allocations: 223.7 kB / 0.8776 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004863/3.657, allocations: 91.16 kB / 0.8777 GB, free: 124 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009283/3.667, allocations: 3.444 MB / 0.8811 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/3.667, allocations: 0 / 0.8811 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01339/3.68, allocations: 1.883 MB / 0.8829 GB, free: 123.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140336370332043.x[3],$STATESET140336370332043.x[2],$STATESET140336370332043.x[1],$STATESET140336370332042.x[3],$STATESET140336370332042.x[2],$STATESET140336370332042.x[1],$STATESET140336370332041.x[3],$STATESET140336370332041.x[2],$STATESET140336370332041.x[1],$STATESET140336370332040.x[3],$STATESET140336370332040.x[2],$STATESET140336370332040.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_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 (239): * Single equations (assignments): 222 * 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.0323/3.713, allocations: 12.34 MB / 0.8949 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02708/3.74, allocations: 10.7 MB / 0.9054 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/3.74, allocations: 5.094 kB / 0.9054 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01647/3.756, allocations: 5.212 MB / 0.9105 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007369/3.764, allocations: 0.7077 MB / 0.9112 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05853/3.822, allocations: 18.66 MB / 0.9294 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/3.836, allocations: 5.4 MB / 0.9347 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01535/3.851, allocations: 2.994 MB / 0.9376 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0097/3.861, allocations: 3.583 MB / 0.9411 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.984e-06/3.861, allocations: 2.625 kB / 0.9411 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7802/4.641, allocations: 139.5 MB / 1.077 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/4.641, allocations: 130.1 kB / 1.077 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/12.65, allocations: 0.5625 kB / 1.077 GB, free: 115.5 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat