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.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.047e-05, allocations: 8 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 54.86 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.6022, allocations: 102.8 MB / 467.5 MB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/0.6027, allocations: 79.95 kB / 467.6 MB, free: 9.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9334/1.536, allocations: 138.5 MB / 0.5918 GB, free: 97.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.536, allocations: 0 / 0.5918 GB, free: 97.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004419/1.537, allocations: 128.3 kB / 0.592 GB, free: 97.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02893/1.566, allocations: 6.8 MB / 0.5986 GB, free: 93.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.566, allocations: 10.72 kB / 0.5986 GB, free: 93.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005982/1.572, allocations: 1.23 MB / 0.5998 GB, free: 92.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05349/1.625, allocations: 7.188 MB / 0.6068 GB, free: 86.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02726/1.653, allocations: 7.535 MB / 0.6142 GB, free: 78.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006708/1.653, allocations: 0.5252 MB / 0.6147 GB, free: 78.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004093/1.657, allocations: 0.691 MB / 0.6154 GB, free: 77.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05412/1.712, allocations: 17.1 MB / 0.6321 GB, free: 59.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004844/1.712, allocations: 87.17 kB / 0.6322 GB, free: 59.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003663/1.716, allocations: 335.8 kB / 0.6325 GB, free: 58.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003627/1.719, allocations: 1.624 MB / 0.6341 GB, free: 57.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04479/1.764, allocations: 14.14 MB / 0.6479 GB, free: 42.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5699/2.334, allocations: 72.27 MB / 0.7184 GB, free: 57.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/2.366, allocations: 7.118 MB / 0.7254 GB, free: 57.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008703/2.375, allocations: 3.925 MB / 0.7292 GB, free: 57.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02582/2.401, allocations: 9.482 MB / 0.7385 GB, free: 55.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/2.401, allocations: 70.81 kB / 0.7386 GB, free: 55.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 7.764e-06/2.401, allocations: 0 / 0.7386 GB, free: 55.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1232/2.524, allocations: 27.68 MB / 0.7656 GB, free: 50.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/2.524, allocations: 243.5 kB / 0.7658 GB, free: 50.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/2.54, allocations: 5.885 MB / 0.7716 GB, free: 47.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001059/2.541, allocations: 78.52 kB / 0.7716 GB, free: 47.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004855/2.546, allocations: 4.569 MB / 0.7761 GB, free: 44.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002461/2.549, allocations: 1.265 MB / 0.7773 GB, free: 43.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/2.55, allocations: 182.2 kB / 0.7775 GB, free: 43.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008748/2.551, allocations: 0.6867 MB / 0.7782 GB, free: 42.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009671/2.561, allocations: 3.651 MB / 0.7817 GB, free: 41.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/2.574, allocations: 8.674 MB / 0.7902 GB, free: 33.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.588, allocations: 5.579 MB / 0.7957 GB, free: 31.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/2.588, allocations: 51.06 kB / 0.7957 GB, free: 31.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03879/2.627, allocations: 13.4 MB / 0.8088 GB, free: 21.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/2.627, allocations: 80 kB / 0.8089 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/2.627, allocations: 180 kB / 0.809 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007237/2.634, allocations: 1.701 MB / 0.8107 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/2.649, allocations: 2.117 MB / 0.8128 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/2.67, allocations: 11.38 MB / 0.8239 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/2.682, allocations: 0.5306 MB / 0.8244 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/2.685, allocations: 0.5155 MB / 0.8249 GB, free: 7.422 MB / 474.7 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 () * 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.003935/2.688, allocations: 0.7776 MB / 0.8257 GB, free: 6.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/2.69, allocations: 0.5823 MB / 0.8262 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/2.714, allocations: 7.446 MB / 0.8335 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003082/2.714, allocations: 50.05 kB / 0.8336 GB, free: 0 / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/2.714, allocations: 13.59 kB / 0.8336 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/2.714, allocations: 18.81 kB / 0.8336 GB, free: 0 / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05795/2.772, allocations: 15.99 MB / 0.8492 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-05/2.772, allocations: 4 kB / 0.8492 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007023/2.78, allocations: 0.6279 MB / 0.8498 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007374/2.787, allocations: 1.419 MB / 0.8512 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/2.788, allocations: 60 kB / 0.8513 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02576/2.814, allocations: 10.61 MB / 0.8616 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/2.814, allocations: 4.75 kB / 0.8616 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/2.85, allocations: 12.6 MB / 0.8739 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00593/2.856, allocations: 1.196 MB / 0.8751 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002992/2.859, allocations: 60.66 kB / 0.8752 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008889/2.868, allocations: 231.7 kB / 0.8754 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/2.87, allocations: 205.9 kB / 0.8756 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000862/2.871, allocations: 95.23 kB / 0.8757 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01745/2.888, allocations: 4.214 MB / 0.8798 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.182e-06/2.888, allocations: 0 / 0.8798 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0182/2.906, allocations: 1.697 MB / 0.8814 GB, free: 88 kB / 0.5105 GB 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 () * 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.04367/2.95, allocations: 13.97 MB / 0.8951 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02475/2.975, allocations: 9.03 MB / 0.9039 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/2.975, allocations: 3.938 kB / 0.9039 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/2.986, allocations: 3.648 MB / 0.9075 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007016/2.994, allocations: 0.7082 MB / 0.9082 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4205/3.414, allocations: 16.78 MB / 0.9245 GB, free: 173.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/3.429, allocations: 5.175 MB / 0.9296 GB, free: 173.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009678/3.438, allocations: 3.342 MB / 0.9329 GB, free: 173.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/3.438, allocations: 0 / 0.9329 GB, free: 173.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.023/9.461, allocations: 195.1 MB / 1.123 GB, free: 162.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat