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.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.0006238, allocations: 16 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3683, allocations: 48.69 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.569, allocations: 96.13 MB / 427.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.5695, allocations: 79.95 kB / 427.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017/1.586, allocations: 138.1 MB / 0.5525 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.586, allocations: 0 / 0.5525 GB, free: 43.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000598/1.587, allocations: 136 kB / 0.5526 GB, free: 43.57 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.04415/1.631, allocations: 7.287 MB / 0.5597 GB, free: 36.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.631, allocations: 8.031 kB / 0.5597 GB, free: 36.19 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007125/1.638, allocations: 1.236 MB / 0.5609 GB, free: 34.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07455/1.713, allocations: 7.182 MB / 0.5679 GB, free: 27.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03551/1.748, allocations: 7.552 MB / 0.5753 GB, free: 20.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009425/1.749, allocations: 0.5213 MB / 0.5758 GB, free: 19.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004892/1.754, allocations: 0.6832 MB / 0.5765 GB, free: 18.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07577/1.83, allocations: 17.23 MB / 0.5933 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005124/1.831, allocations: 83.28 kB / 0.5934 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003881/1.835, allocations: 335.8 kB / 0.5937 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004397/1.839, allocations: 1.621 MB / 0.5953 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05267/1.892, allocations: 14.35 MB / 0.6093 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7509/2.643, allocations: 72.24 MB / 0.6799 GB, free: 28.99 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03015/2.673, allocations: 7.203 MB / 0.6869 GB, free: 28.28 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/2.698, allocations: 9.466 MB / 0.6961 GB, free: 26.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/2.699, allocations: 67.61 kB / 0.6962 GB, free: 26.82 MB / 426.8 MB Notification: Performance of pre-optimization done (n=297): time 7.995e-06/2.699, allocations: 0 / 0.6962 GB, free: 26.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.1392/2.838, allocations: 32.15 MB / 0.7276 GB, free: 16.86 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/2.838, allocations: 246 kB / 0.7278 GB, free: 16.6 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01602/2.854, allocations: 5.95 MB / 0.7336 GB, free: 14.56 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/2.855, allocations: 80.11 kB / 0.7337 GB, free: 14.49 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004403/2.86, allocations: 4.57 MB / 0.7382 GB, free: 10.86 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002421/2.862, allocations: 1.264 MB / 0.7394 GB, free: 9.938 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/2.864, allocations: 178 kB / 0.7396 GB, free: 9.797 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0008066/2.865, allocations: 0.685 MB / 0.7403 GB, free: 9.324 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/2.875, allocations: 3.731 MB / 0.7439 GB, free: 8.059 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/2.89, allocations: 8.763 MB / 0.7525 GB, free: 15.91 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/2.905, allocations: 5.598 MB / 0.7579 GB, free: 11.16 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002579/2.906, allocations: 52 kB / 0.758 GB, free: 11.11 MB / 442.8 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04682/2.952, allocations: 13.65 MB / 0.7713 GB, free: 15.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/2.953, allocations: 80 kB / 0.7714 GB, free: 15.82 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/2.953, allocations: 180.1 kB / 0.7715 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007755/2.961, allocations: 1.701 MB / 0.7732 GB, free: 14.38 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/2.976, allocations: 2.112 MB / 0.7753 GB, free: 12.58 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02797/3.004, allocations: 11.72 MB / 0.7867 GB, free: 2.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/3.017, allocations: 0.5213 MB / 0.7872 GB, free: 1.637 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/3.02, allocations: 0.5206 MB / 0.7877 GB, free: 1.137 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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 (1089): * Single equations (assignments): 1084 * 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.3526/3.373, allocations: 3.665 MB / 0.7913 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/3.375, allocations: 0.5872 MB / 0.7919 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/3.4, allocations: 7.524 MB / 0.7992 GB, free: 100.9 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.593e-05/3.4, allocations: 37.53 kB / 0.7993 GB, free: 100.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/3.4, allocations: 10.17 kB / 0.7993 GB, free: 100.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/3.4, allocations: 15.84 kB / 0.7993 GB, free: 100.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05024/3.45, allocations: 16.08 MB / 0.815 GB, free: 100.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-05/3.45, allocations: 10.88 kB / 0.815 GB, free: 100.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00647/3.457, allocations: 0.6248 MB / 0.8156 GB, free: 100.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006553/3.463, allocations: 1.424 MB / 0.817 GB, free: 100.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009876/3.464, allocations: 63.83 kB / 0.8171 GB, free: 100.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/3.486, allocations: 10.93 MB / 0.8278 GB, free: 97.32 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/3.486, allocations: 6 kB / 0.8278 GB, free: 97.32 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03092/3.517, allocations: 12.72 MB / 0.8402 GB, free: 91.86 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005044/3.523, allocations: 1.198 MB / 0.8413 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/3.525, allocations: 60.38 kB / 0.8414 GB, free: 91.24 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006388/3.531, allocations: 237.5 kB / 0.8416 GB, free: 91.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/3.533, allocations: 204.2 kB / 0.8418 GB, free: 91.17 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004823/3.533, allocations: 87.75 kB / 0.8419 GB, free: 91.15 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0117/3.545, allocations: 4.281 MB / 0.8461 GB, free: 89.73 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.72e-07/3.545, allocations: 0 / 0.8461 GB, free: 89.73 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01235/3.557, allocations: 1.698 MB / 0.8477 GB, free: 89.54 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.0337/3.591, allocations: 14.11 MB / 0.8615 GB, free: 82.55 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02234/3.614, allocations: 9.184 MB / 0.8705 GB, free: 77.73 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/3.614, allocations: 4 kB / 0.8705 GB, free: 77.72 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01051/3.624, allocations: 3.712 MB / 0.8741 GB, free: 74.49 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006627/3.631, allocations: 0.7125 MB / 0.8748 GB, free: 73.89 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5244/4.155, allocations: 188.7 MB / 1.059 GB, free: 36.23 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01272/4.168, allocations: 5.173 MB / 1.064 GB, free: 35.37 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009233/4.177, allocations: 3.339 MB / 1.067 GB, free: 35.37 MB / 474.8 MB Notification: Performance of SimCode: time 1.603e-06/4.177, allocations: 0 / 1.067 GB, free: 35.37 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.867/10.04, allocations: 195.4 MB / 1.258 GB, free: 31.39 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat