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.ForcesAndTorques.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3412, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5278, allocations: 104.1 MB / 473.4 MB, free: 2.496 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5281, allocations: 83.91 kB / 473.5 MB, free: 2.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.877/1.405, allocations: 148.6 MB / 0.6075 GB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.405, allocations: 0 / 0.6075 GB, free: 10.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006251/1.406, allocations: 151.9 kB / 0.6077 GB, free: 10.68 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.03592/1.442, allocations: 7.904 MB / 0.6154 GB, free: 2.688 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.442, allocations: 12.03 kB / 0.6154 GB, free: 2.676 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007107/1.449, allocations: 1.376 MB / 0.6168 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05735/1.506, allocations: 7.314 MB / 0.6239 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03143/1.538, allocations: 7.917 MB / 0.6316 GB, free: 1.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.539, allocations: 0.5777 MB / 0.6322 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004808/1.544, allocations: 0.7769 MB / 0.633 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7251/2.269, allocations: 18.99 MB / 0.6515 GB, free: 55.23 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006296/2.27, allocations: 94.41 kB / 0.6516 GB, free: 55.23 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003876/2.274, allocations: 373.8 kB / 0.6519 GB, free: 55.23 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00413/2.278, allocations: 1.828 MB / 0.6537 GB, free: 55.21 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04911/2.327, allocations: 15.59 MB / 0.669 GB, free: 55.14 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1307/2.458, allocations: 81.73 MB / 0.7488 GB, free: 18.76 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03801/2.496, allocations: 8.752 MB / 0.7573 GB, free: 16.14 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03032/2.526, allocations: 11.69 MB / 0.7687 GB, free: 9.008 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.472e-05/2.526, allocations: 69.19 kB / 0.7688 GB, free: 8.934 MB / 474.8 MB Notification: Performance of pre-optimization done (n=347): time 8.165e-06/2.526, allocations: 7.844 kB / 0.7688 GB, free: 8.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=389): time 0.1748/2.701, allocations: 36.5 MB / 0.8045 GB, free: 10.56 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/2.701, allocations: 248.1 kB / 0.8047 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02037/2.722, allocations: 6.565 MB / 0.8111 GB, free: 4.82 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/2.723, allocations: 84.44 kB / 0.8112 GB, free: 4.734 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006209/2.729, allocations: 5.003 MB / 0.8161 GB, free: 212 kB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.3824/3.112, allocations: 1.438 MB / 0.8175 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/3.114, allocations: 197.5 kB / 0.8177 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001377/3.115, allocations: 0.7301 MB / 0.8184 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01286/3.128, allocations: 4.114 MB / 0.8224 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01595/3.144, allocations: 9.676 MB / 0.8318 GB, free: 95.36 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/3.16, allocations: 6.187 MB / 0.8379 GB, free: 95.32 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002536/3.16, allocations: 58.56 kB / 0.8379 GB, free: 95.32 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04381/3.204, allocations: 14.87 MB / 0.8525 GB, free: 94.82 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/3.204, allocations: 88.84 kB / 0.8525 GB, free: 94.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003387/3.205, allocations: 196.9 kB / 0.8527 GB, free: 94.82 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007349/3.212, allocations: 1.726 MB / 0.8544 GB, free: 94.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/3.228, allocations: 2.425 MB / 0.8568 GB, free: 94.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/3.251, allocations: 11.74 MB / 0.8683 GB, free: 91.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01261/3.264, allocations: 0.5776 MB / 0.8688 GB, free: 91.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002755/3.267, allocations: 0.5764 MB / 0.8694 GB, free: 91.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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.01139/3.278, allocations: 3.615 MB / 0.8729 GB, free: 91.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/3.28, allocations: 0.644 MB / 0.8735 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0259/3.306, allocations: 8.231 MB / 0.8816 GB, free: 88.12 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/3.306, allocations: 39.84 kB / 0.8816 GB, free: 88.12 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.59e-05/3.306, allocations: 12.61 kB / 0.8816 GB, free: 88.12 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/3.306, allocations: 15.98 kB / 0.8816 GB, free: 88.12 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0572/3.364, allocations: 18.31 MB / 0.8995 GB, free: 81.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.691e-05/3.364, allocations: 6.953 kB / 0.8995 GB, free: 81.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007764/3.371, allocations: 0.7719 MB / 0.9003 GB, free: 81.44 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006774/3.378, allocations: 1.425 MB / 0.9017 GB, free: 81.16 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/3.38, allocations: 76.3 kB / 0.9017 GB, free: 81.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0226/3.402, allocations: 10.93 MB / 0.9124 GB, free: 75.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/3.402, allocations: 11.94 kB / 0.9124 GB, free: 75.24 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03429/3.437, allocations: 14.5 MB / 0.9266 GB, free: 62.09 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/3.442, allocations: 1.317 MB / 0.9279 GB, free: 60.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002656/3.444, allocations: 72.89 kB / 0.928 GB, free: 60.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006887/3.451, allocations: 251.4 kB / 0.9282 GB, free: 60.66 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/3.453, allocations: 244.8 kB / 0.9284 GB, free: 60.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007742/3.454, allocations: 100.7 kB / 0.9285 GB, free: 60.41 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0128/3.466, allocations: 4.718 MB / 0.9331 GB, free: 56.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.72e-07/3.466, allocations: 0 / 0.9331 GB, free: 56.55 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01324/3.48, allocations: 1.873 MB / 0.935 GB, free: 54.69 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.04067/3.52, allocations: 16.26 MB / 0.9508 GB, free: 39.97 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0314/3.552, allocations: 10.1 MB / 0.9607 GB, free: 31.16 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/3.552, allocations: 3.938 kB / 0.9607 GB, free: 31.16 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01468/3.567, allocations: 4.026 MB / 0.9646 GB, free: 27.66 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008441/3.575, allocations: 0.7648 MB / 0.9654 GB, free: 27.01 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6238/4.199, allocations: 210.2 MB / 1.171 GB, free: 5.145 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01491/4.214, allocations: 5.634 MB / 1.176 GB, free: 20.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01083/4.225, allocations: 3.763 MB / 1.18 GB, free: 20.25 MB / 0.573 GB Notification: Performance of SimCode: time 1.713e-06/4.225, allocations: 3.969 kB / 1.18 GB, free: 20.25 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.104/10.33, allocations: 214.7 MB / 1.389 GB, free: 89.25 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat