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.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.994e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.343, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.5229, allocations: 100.6 MB / 458.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5232, allocations: 79.95 kB / 458.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.825/1.348, allocations: 130 MB / 0.575 GB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.348, allocations: 0 / 0.575 GB, free: 7.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004428/1.349, allocations: 124 kB / 0.5751 GB, free: 7.828 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.03347/1.382, allocations: 6.431 MB / 0.5814 GB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.382, allocations: 8.031 kB / 0.5814 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05426/1.437, allocations: 7.128 MB / 0.5884 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02721/1.464, allocations: 7.236 MB / 0.5955 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/1.464, allocations: 220 kB / 0.5957 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/1.468, allocations: 403.9 kB / 0.5961 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02662/1.495, allocations: 9.517 MB / 0.6053 GB, free: 8.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.537, allocations: 14.39 MB / 0.6194 GB, free: 9.004 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004411/1.537, allocations: 83.19 kB / 0.6195 GB, free: 8.922 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/1.54, allocations: 43.94 kB / 0.6195 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/1.544, allocations: 1.558 MB / 0.621 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4395/1.984, allocations: 67.16 MB / 0.6866 GB, free: 40.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/1.994, allocations: 5.596 MB / 0.6921 GB, free: 39.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006902/2.001, allocations: 3.81 MB / 0.6958 GB, free: 39.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/2.001, allocations: 55.89 kB / 0.6959 GB, free: 39.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/2.002, allocations: 66.66 kB / 0.6959 GB, free: 39.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 7.344e-06/2.002, allocations: 3.062 kB / 0.6959 GB, free: 39.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=334): time 0.1006/2.102, allocations: 29.32 MB / 0.7246 GB, free: 30.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/2.102, allocations: 219.9 kB / 0.7248 GB, free: 30.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009586/2.112, allocations: 4.252 MB / 0.7289 GB, free: 28.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009795/2.113, allocations: 29.7 kB / 0.7289 GB, free: 28.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003821/2.117, allocations: 4.588 MB / 0.7334 GB, free: 25.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/2.119, allocations: 1.214 MB / 0.7346 GB, free: 24.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/2.12, allocations: 3.469 kB / 0.7346 GB, free: 24.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006078/2.121, allocations: 0.6867 MB / 0.7353 GB, free: 24.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008597/2.129, allocations: 3.623 MB / 0.7388 GB, free: 22.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/2.142, allocations: 8.633 MB / 0.7473 GB, free: 12.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/2.154, allocations: 5.506 MB / 0.7526 GB, free: 8.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/2.154, allocations: 48 kB / 0.7527 GB, free: 8.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.03788/2.192, allocations: 12.61 MB / 0.765 GB, free: 14.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.192, allocations: 84.06 kB / 0.7651 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003166/2.192, allocations: 180 kB / 0.7652 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/2.2, allocations: 1.701 MB / 0.7669 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/2.215, allocations: 2.174 MB / 0.769 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/2.24, allocations: 10.77 MB / 0.7795 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/2.25, allocations: 375.3 kB / 0.7799 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/2.253, allocations: 0.5241 MB / 0.7804 GB, free: 412 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1086 * 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.002986/2.256, allocations: 0.5617 MB / 0.781 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02197/2.278, allocations: 7.093 MB / 0.7879 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/2.28, allocations: 481.8 kB / 0.7883 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02331/2.304, allocations: 7.142 MB / 0.7953 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/2.304, allocations: 43.27 kB / 0.7954 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/2.304, allocations: 8 kB / 0.7954 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.741e-05/2.304, allocations: 17.88 kB / 0.7954 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04942/2.353, allocations: 15 MB / 0.81 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/2.353, allocations: 4 kB / 0.81 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007131/2.361, allocations: 0.6622 MB / 0.8107 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006921/2.368, allocations: 1.412 MB / 0.8121 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009673/2.369, allocations: 19.84 kB / 0.8121 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3707/2.739, allocations: 9.826 MB / 0.8217 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/2.739, allocations: 5.438 kB / 0.8217 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02983/2.769, allocations: 12.34 MB / 0.8337 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004285/2.773, allocations: 1.078 MB / 0.8348 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/2.775, allocations: 8.625 kB / 0.8348 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006074/2.782, allocations: 225.5 kB / 0.835 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/2.783, allocations: 201.6 kB / 0.8352 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006504/2.784, allocations: 92.48 kB / 0.8353 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007462/2.791, allocations: 2.843 MB / 0.8381 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.12e-07/2.791, allocations: 0 / 0.8381 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01153/2.803, allocations: 1.449 MB / 0.8395 GB, free: 113.7 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * 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.03078/2.834, allocations: 13.74 MB / 0.8529 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02094/2.855, allocations: 9.09 MB / 0.8618 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.855, allocations: 2.812 kB / 0.8618 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009381/2.864, allocations: 3.626 MB / 0.8653 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/2.869, allocations: 0.4966 MB / 0.8658 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05054/2.92, allocations: 15.88 MB / 0.8813 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.931, allocations: 4.997 MB / 0.8862 GB, free: 103 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008251/2.94, allocations: 3.18 MB / 0.8893 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/2.94, allocations: 0 / 0.8893 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.517/8.456, allocations: 182.6 MB / 1.068 GB, free: 101.8 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat