Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.708e-05, allocations: 0 / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.71 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.549, allocations: 92.13 MB / 408.5 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5493, allocations: 70.41 kB / 408.5 MB, free: 0.5664 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7433:35-7433: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.1/MultiBody.mo:7434:13-7434: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.1/MultiBody.mo:7456:35-7456: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.1/MultiBody.mo:7457:13-7457: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.1/MultiBody.mo:7478:35-7478: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.1/MultiBody.mo:7479:13-7479: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.1/MultiBody.mo:7506:35-7506: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.1/MultiBody.mo:7507:13-7507: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.1/MultiBody.mo:7518:35-7518: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.1/MultiBody.mo:7519:13-7519:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8517/1.401, allocations: 138.9 MB / 0.5346 GB, free: 80.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.401, allocations: 0 / 0.5346 GB, free: 80.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006205/1.402, allocations: 152 kB / 0.5348 GB, free: 80.75 MB / 410.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.07901/1.481, allocations: 8.675 MB / 0.5432 GB, free: 77.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/1.481, allocations: 10.78 kB / 0.5432 GB, free: 77.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06234/1.543, allocations: 7.695 MB / 0.5507 GB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04034/1.584, allocations: 10.91 MB / 0.5614 GB, free: 67.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/1.584, allocations: 244 kB / 0.5616 GB, free: 66.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.588, allocations: 447.8 kB / 0.5621 GB, free: 66.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0256/1.614, allocations: 10.04 MB / 0.5719 GB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0385/1.652, allocations: 15.14 MB / 0.5867 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006347/1.653, allocations: 95.12 kB / 0.5867 GB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/1.656, allocations: 48 kB / 0.5868 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/1.66, allocations: 1.608 MB / 0.5884 GB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4677/2.128, allocations: 77.59 MB / 0.6641 GB, free: 45.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/2.143, allocations: 4.353 MB / 0.6684 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009881/2.153, allocations: 3.044 MB / 0.6713 GB, free: 45.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/2.154, allocations: 49.09 kB / 0.6714 GB, free: 45.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.612e-05/2.154, allocations: 69.08 kB / 0.6715 GB, free: 45.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 1.174e-05/2.154, allocations: 0 / 0.6715 GB, free: 45.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.1062/2.26, allocations: 21.59 MB / 0.6925 GB, free: 40.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/2.26, allocations: 236.5 kB / 0.6928 GB, free: 40.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/2.274, allocations: 5.142 MB / 0.6978 GB, free: 38.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009492/2.275, allocations: 32.86 kB / 0.6978 GB, free: 38.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005148/2.28, allocations: 5.289 MB / 0.703 GB, free: 34.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002262/2.283, allocations: 1.175 MB / 0.7041 GB, free: 33.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/2.284, allocations: 2.312 kB / 0.7041 GB, free: 33.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001075/2.285, allocations: 0.7323 MB / 0.7049 GB, free: 33.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009572/2.295, allocations: 3.663 MB / 0.7084 GB, free: 31.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/2.309, allocations: 9.55 MB / 0.7178 GB, free: 22.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/2.322, allocations: 5.776 MB / 0.7234 GB, free: 20.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/2.323, allocations: 65.91 kB / 0.7235 GB, free: 20.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.04411/2.367, allocations: 14.01 MB / 0.7372 GB, free: 15.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.367, allocations: 98.97 kB / 0.7372 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02102/2.388, allocations: 6.548 MB / 0.7436 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/2.403, allocations: 2.791 MB / 0.7464 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/2.418, allocations: 2.411 MB / 0.7487 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/2.438, allocations: 10.87 MB / 0.7593 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01459/2.453, allocations: 0.6734 MB / 0.76 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002905/2.456, allocations: 0.6013 MB / 0.7606 GB, free: 9.867 MB / 442.7 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 (1234): * Single equations (assignments): 1209 * 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.004147/2.46, allocations: 0.6489 MB / 0.7612 GB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02776/2.488, allocations: 7.447 MB / 0.7685 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/2.49, allocations: 0.5515 MB / 0.769 GB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03842/2.529, allocations: 7.872 MB / 0.7767 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02494/2.554, allocations: 6.543 MB / 0.7831 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.717e-05/2.554, allocations: 8 kB / 0.7831 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/2.554, allocations: 11.95 kB / 0.7831 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03863/2.593, allocations: 11.01 MB / 0.7939 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/2.593, allocations: 0 / 0.7939 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006581/2.599, allocations: 0.6123 MB / 0.7945 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/2.617, allocations: 3.066 MB / 0.7975 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/2.618, allocations: 59.91 kB / 0.7975 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/2.644, allocations: 13.77 MB / 0.811 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005692/2.649, allocations: 5.77 MB / 0.8166 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3716/3.021, allocations: 11.5 MB / 0.8278 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005043/3.026, allocations: 1.101 MB / 0.8289 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/3.029, allocations: 37.77 kB / 0.829 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008396/3.038, allocations: 329.4 kB / 0.8293 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001683/3.039, allocations: 218.6 kB / 0.8295 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006234/3.04, allocations: 90.11 kB / 0.8296 GB, free: 134.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01134/3.051, allocations: 3.447 MB / 0.8329 GB, free: 134.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.042e-06/3.051, allocations: 0 / 0.8329 GB, free: 134.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0158/3.067, allocations: 1.857 MB / 0.8347 GB, free: 134.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET139937121485195.x[3],$STATESET139937121485195.x[2],$STATESET139937121485195.x[1],$STATESET139937121485194.x[3],$STATESET139937121485194.x[2],$STATESET139937121485194.x[1],$STATESET139937121485193.x[3],$STATESET139937121485193.x[2],$STATESET139937121485193.x[1],$STATESET139937121485192.x[3],$STATESET139937121485192.x[2],$STATESET139937121485192.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.03475/3.102, allocations: 12.34 MB / 0.8468 GB, free: 132.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02677/3.129, allocations: 10.26 MB / 0.8568 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/3.129, allocations: 4 kB / 0.8568 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01573/3.145, allocations: 5.225 MB / 0.8619 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007212/3.152, allocations: 0.7037 MB / 0.8626 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05944/3.211, allocations: 18.66 MB / 0.8808 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01317/3.225, allocations: 5.402 MB / 0.8861 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0153/3.24, allocations: 3.001 MB / 0.889 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009286/3.249, allocations: 3.584 MB / 0.8925 GB, free: 116 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/3.249, allocations: 0 / 0.8925 GB, free: 116 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6579/3.907, allocations: 135.7 MB / 1.025 GB, free: 122.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/3.908, allocations: 127.4 kB / 1.025 GB, free: 122.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/12.12, allocations: 0 / 1.025 GB, free: 122.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat