Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004563, allocations: 19.98 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3727, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.5507, allocations: 94.57 MB / 425.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.551, allocations: 79.95 kB / 426 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8491/1.4, allocations: 132.7 MB / 0.5456 GB, free: 50.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.4, allocations: 0 / 0.5456 GB, free: 50.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004268/1.401, allocations: 135.9 kB / 0.5457 GB, free: 50.44 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.03003/1.431, allocations: 6.888 MB / 0.5524 GB, free: 43.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.431, allocations: 8.031 kB / 0.5524 GB, free: 43.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005721/1.437, allocations: 1.199 MB / 0.5536 GB, free: 42.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/1.489, allocations: 7.128 MB / 0.5606 GB, free: 35.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02542/1.515, allocations: 7.251 MB / 0.5676 GB, free: 27.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006104/1.515, allocations: 0.5053 MB / 0.5681 GB, free: 27.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/1.519, allocations: 0.6715 MB / 0.5688 GB, free: 26.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05277/1.572, allocations: 16.72 MB / 0.5851 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005108/1.573, allocations: 79.19 kB / 0.5852 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00378/1.576, allocations: 327.8 kB / 0.5855 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/1.58, allocations: 1.562 MB / 0.587 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04801/1.628, allocations: 13.98 MB / 0.6007 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4559/2.084, allocations: 70.08 MB / 0.6691 GB, free: 35.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03519/2.119, allocations: 7.938 MB / 0.6769 GB, free: 34.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/2.12, allocations: 57.92 kB / 0.6769 GB, free: 34.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/2.12, allocations: 64.34 kB / 0.677 GB, free: 34.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 7.314e-06/2.12, allocations: 0 / 0.677 GB, free: 34.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.1421/2.262, allocations: 32.71 MB / 0.7089 GB, free: 30.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/2.262, allocations: 219.5 kB / 0.7091 GB, free: 29.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/2.276, allocations: 5.629 MB / 0.7146 GB, free: 28.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001081/2.277, allocations: 76.23 kB / 0.7147 GB, free: 28.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004336/2.282, allocations: 4.372 MB / 0.719 GB, free: 25.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/2.284, allocations: 1.23 MB / 0.7202 GB, free: 24.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/2.286, allocations: 178 kB / 0.7204 GB, free: 24.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009027/2.287, allocations: 0.6714 MB / 0.721 GB, free: 23.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/2.297, allocations: 3.792 MB / 0.7247 GB, free: 22.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/2.311, allocations: 8.606 MB / 0.7331 GB, free: 14.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/2.326, allocations: 5.585 MB / 0.7386 GB, free: 12.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002858/2.326, allocations: 49.69 kB / 0.7386 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.04059/2.367, allocations: 13.52 MB / 0.7518 GB, free: 2.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/2.367, allocations: 76.22 kB / 0.7519 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/2.367, allocations: 172 kB / 0.7521 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007214/2.375, allocations: 1.684 MB / 0.7537 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01796/2.393, allocations: 2.312 MB / 0.756 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/2.418, allocations: 11.69 MB / 0.7674 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.429, allocations: 0.5194 MB / 0.7679 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00256/2.432, allocations: 0.5091 MB / 0.7684 GB, free: 4.234 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1047): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01093/2.443, allocations: 3.155 MB / 0.7715 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/2.445, allocations: 0.5577 MB / 0.772 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/2.472, allocations: 7.517 MB / 0.7793 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.735e-05/2.472, allocations: 36 kB / 0.7794 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/2.472, allocations: 8 kB / 0.7794 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.856e-05/2.472, allocations: 15.19 kB / 0.7794 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4042/2.876, allocations: 16.35 MB / 0.7954 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.435e-05/2.877, allocations: 3.062 kB / 0.7954 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007133/2.884, allocations: 0.6457 MB / 0.796 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007353/2.891, allocations: 1.43 MB / 0.7974 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/2.892, allocations: 67.92 kB / 0.7975 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/2.916, allocations: 10.92 MB / 0.8081 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/2.916, allocations: 4 kB / 0.8081 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03311/2.949, allocations: 12.83 MB / 0.8207 GB, free: 99.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00493/2.954, allocations: 1.212 MB / 0.8218 GB, free: 99.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002648/2.957, allocations: 62.2 kB / 0.8219 GB, free: 99.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006789/2.964, allocations: 273.8 kB / 0.8222 GB, free: 99.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/2.965, allocations: 197.1 kB / 0.8224 GB, free: 99.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006723/2.966, allocations: 95.2 kB / 0.8224 GB, free: 99.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01141/2.977, allocations: 3.998 MB / 0.8264 GB, free: 99.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.977, allocations: 0 / 0.8264 GB, free: 99.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01193/2.989, allocations: 1.668 MB / 0.828 GB, free: 99.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * 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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03485/3.024, allocations: 14.21 MB / 0.8419 GB, free: 92.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02354/3.048, allocations: 9.33 MB / 0.851 GB, free: 90 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/3.048, allocations: 0 / 0.851 GB, free: 90 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01135/3.059, allocations: 3.865 MB / 0.8547 GB, free: 88.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/3.066, allocations: 0.6698 MB / 0.8554 GB, free: 88.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5147/3.581, allocations: 180.1 MB / 1.031 GB, free: 65.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/3.593, allocations: 4.986 MB / 1.036 GB, free: 65.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008938/3.602, allocations: 3.223 MB / 1.039 GB, free: 65.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.153e-06/3.602, allocations: 0 / 1.039 GB, free: 65.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.962/9.564, allocations: 188.6 MB / 1.223 GB, free: 73.81 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat