Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.14e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5428, allocations: 100.1 MB / 458.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5431, allocations: 75.97 kB / 458.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7793/1.322, allocations: 128 MB / 0.5726 GB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.322, allocations: 0 / 0.5726 GB, free: 10.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004366/1.323, allocations: 128 kB / 0.5727 GB, free: 10.31 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02823/1.351, allocations: 6.359 MB / 0.579 GB, free: 3.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.351, allocations: 12.03 kB / 0.579 GB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05352/1.405, allocations: 7.093 MB / 0.5859 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.433, allocations: 7.242 MB / 0.593 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/1.433, allocations: 220 kB / 0.5932 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003679/1.437, allocations: 395.9 kB / 0.5936 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02688/1.464, allocations: 9.633 MB / 0.603 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0429/1.507, allocations: 14.14 MB / 0.6168 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004718/1.507, allocations: 87.23 kB / 0.6169 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003264/1.511, allocations: 36 kB / 0.6169 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003961/1.515, allocations: 1.57 MB / 0.6184 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4542/1.969, allocations: 63.89 MB / 0.6808 GB, free: 45.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.98, allocations: 5.929 MB / 0.6866 GB, free: 44.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007414/1.987, allocations: 4.057 MB / 0.6906 GB, free: 44.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009129/1.988, allocations: 0.5709 MB / 0.6911 GB, free: 44.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/1.988, allocations: 73.67 kB / 0.6912 GB, free: 44.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=315): time 7.434e-06/1.988, allocations: 0 / 0.6912 GB, free: 44.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=359): time 0.09803/2.086, allocations: 28.68 MB / 0.7192 GB, free: 35.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/2.086, allocations: 212.7 kB / 0.7194 GB, free: 35.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009014/2.095, allocations: 3.898 MB / 0.7232 GB, free: 33.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.096, allocations: 25.7 kB / 0.7232 GB, free: 33.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003624/2.1, allocations: 4.377 MB / 0.7275 GB, free: 30.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002187/2.102, allocations: 1.273 MB / 0.7288 GB, free: 29.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/2.104, allocations: 0 / 0.7288 GB, free: 29.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007095/2.104, allocations: 0.6769 MB / 0.7294 GB, free: 29.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008576/2.113, allocations: 3.503 MB / 0.7328 GB, free: 27.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/2.125, allocations: 8.144 MB / 0.7408 GB, free: 19.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.137, allocations: 5.286 MB / 0.746 GB, free: 15.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/2.137, allocations: 45.03 kB / 0.746 GB, free: 15.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03616/2.173, allocations: 12.07 MB / 0.7578 GB, free: 5.672 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/2.173, allocations: 76 kB / 0.7579 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/2.174, allocations: 164 kB / 0.758 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/2.181, allocations: 1.707 MB / 0.7597 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/2.194, allocations: 2.016 MB / 0.7616 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02529/2.22, allocations: 10.99 MB / 0.7724 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.23, allocations: 344.7 kB / 0.7727 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/2.233, allocations: 0.4991 MB / 0.7732 GB, free: 8.203 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1041 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003451/2.236, allocations: 0.5293 MB / 0.7737 GB, free: 7.676 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02345/2.26, allocations: 7.151 MB / 0.7807 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.262, allocations: 462.1 kB / 0.7811 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0342/2.296, allocations: 7.76 MB / 0.7887 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/2.296, allocations: 40 kB / 0.7888 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/2.296, allocations: 8 kB / 0.7888 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.816e-05/2.297, allocations: 18.19 kB / 0.7888 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05003/2.347, allocations: 15.02 MB / 0.8034 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/2.347, allocations: 0 / 0.8034 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006721/2.353, allocations: 0.6219 MB / 0.8041 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008744/2.362, allocations: 1.512 MB / 0.8055 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009796/2.363, allocations: 15.98 kB / 0.8055 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02214/2.385, allocations: 9.89 MB / 0.8152 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/2.385, allocations: 4 kB / 0.8152 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3828/2.768, allocations: 11.87 MB / 0.8268 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003888/2.772, allocations: 1.039 MB / 0.8278 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/2.774, allocations: 7.516 kB / 0.8278 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005004/2.779, allocations: 206.5 kB / 0.828 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009939/2.78, allocations: 206.9 kB / 0.8282 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/2.78, allocations: 89.81 kB / 0.8283 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005636/2.786, allocations: 2.611 MB / 0.8309 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.092e-06/2.786, allocations: 0 / 0.8309 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01004/2.796, allocations: 1.401 MB / 0.8322 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 300 * 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.02892/2.825, allocations: 12.83 MB / 0.8448 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02112/2.846, allocations: 8.873 MB / 0.8534 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.846, allocations: 0 / 0.8534 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009736/2.856, allocations: 3.674 MB / 0.857 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/2.861, allocations: 489.4 kB / 0.8575 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/2.911, allocations: 15.54 MB / 0.8726 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01164/2.923, allocations: 4.937 MB / 0.8775 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008892/2.931, allocations: 3.119 MB / 0.8805 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/2.932, allocations: 0 / 0.8805 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.684/8.615, allocations: 178.6 MB / 1.055 GB, free: 112.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat