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.43/2.43, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3632, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.5534, allocations: 102.9 MB / 472.3 MB, free: 3.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5538, allocations: 79.95 kB / 472.4 MB, free: 3.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8257/1.379, allocations: 138.3 MB / 0.5964 GB, free: 5.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.68e-06/1.38, allocations: 0 / 0.5964 GB, free: 5.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004681/1.38, allocations: 135.9 kB / 0.5965 GB, free: 5.809 MB / 426.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.03525/1.415, allocations: 7.292 MB / 0.6037 GB, free: 14.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/1.415, allocations: 12.03 kB / 0.6037 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007228/1.423, allocations: 1.24 MB / 0.6049 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07231/1.495, allocations: 7.174 MB / 0.6119 GB, free: 5.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02892/1.524, allocations: 7.571 MB / 0.6193 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009199/1.525, allocations: 0.5175 MB / 0.6198 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004448/1.529, allocations: 0.691 MB / 0.6205 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7407/2.27, allocations: 17.23 MB / 0.6373 GB, free: 60.18 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000598/2.271, allocations: 86.47 kB / 0.6374 GB, free: 60.18 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003543/2.274, allocations: 332.3 kB / 0.6377 GB, free: 60.18 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004022/2.278, allocations: 1.628 MB / 0.6393 GB, free: 60.16 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04477/2.323, allocations: 14.35 MB / 0.6533 GB, free: 60.09 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/2.43, allocations: 72.29 MB / 0.7239 GB, free: 17.19 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0294/2.46, allocations: 7.198 MB / 0.7309 GB, free: 14.82 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02172/2.481, allocations: 9.476 MB / 0.7402 GB, free: 10.64 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/2.481, allocations: 66.41 kB / 0.7402 GB, free: 10.58 MB / 458.8 MB Notification: Performance of pre-optimization done (n=297): time 7.394e-06/2.482, allocations: 0 / 0.7402 GB, free: 10.58 MB / 458.8 MB Notification: Performance of matching and sorting (n=339): time 0.1327/2.614, allocations: 32.16 MB / 0.7716 GB, free: 9.828 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/2.614, allocations: 246.6 kB / 0.7719 GB, free: 9.539 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/2.635, allocations: 5.945 MB / 0.7777 GB, free: 4.613 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001212/2.636, allocations: 80.83 kB / 0.7777 GB, free: 4.531 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007032/2.643, allocations: 4.571 MB / 0.7822 GB, free: 404 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003218/2.647, allocations: 1.27 MB / 0.7834 GB, free: 15.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/2.648, allocations: 180 kB / 0.7836 GB, free: 15.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001056/2.649, allocations: 0.684 MB / 0.7843 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/2.664, allocations: 3.733 MB / 0.7879 GB, free: 11.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02113/2.686, allocations: 8.762 MB / 0.7965 GB, free: 0.9805 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02363/2.709, allocations: 5.636 MB / 0.802 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002576/2.71, allocations: 52 kB / 0.802 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.05633/2.766, allocations: 13.59 MB / 0.8153 GB, free: 404 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/2.766, allocations: 80 kB / 0.8154 GB, free: 324 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/2.767, allocations: 179.9 kB / 0.8156 GB, free: 148 kB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3696/3.136, allocations: 1.884 MB / 0.8174 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/3.151, allocations: 2.121 MB / 0.8195 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/3.174, allocations: 11.71 MB / 0.8309 GB, free: 100.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/3.185, allocations: 0.5229 MB / 0.8314 GB, free: 100.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/3.188, allocations: 0.5207 MB / 0.8319 GB, free: 100.2 MB / 0.4949 GB 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.01037/3.198, allocations: 3.283 MB / 0.8351 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/3.2, allocations: 0.5832 MB / 0.8357 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/3.223, allocations: 7.525 MB / 0.8431 GB, free: 99.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/3.223, allocations: 33.97 kB / 0.8431 GB, free: 99.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-05/3.223, allocations: 11.34 kB / 0.8431 GB, free: 99.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-05/3.224, allocations: 18.28 kB / 0.8431 GB, free: 99.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04786/3.271, allocations: 16.1 MB / 0.8588 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-05/3.272, allocations: 3.438 kB / 0.8588 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006481/3.278, allocations: 0.6297 MB / 0.8594 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006623/3.285, allocations: 1.417 MB / 0.8608 GB, free: 99.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009813/3.286, allocations: 65.2 kB / 0.8609 GB, free: 99.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/3.307, allocations: 10.93 MB / 0.8716 GB, free: 94.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/3.307, allocations: 3.219 kB / 0.8716 GB, free: 94.04 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/3.338, allocations: 12.72 MB / 0.884 GB, free: 88.58 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004381/3.342, allocations: 1.204 MB / 0.8852 GB, free: 88.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002094/3.344, allocations: 60.09 kB / 0.8852 GB, free: 88.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006058/3.35, allocations: 227.9 kB / 0.8854 GB, free: 87.97 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/3.352, allocations: 204.8 kB / 0.8856 GB, free: 87.95 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003971/3.352, allocations: 90.23 kB / 0.8857 GB, free: 87.93 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01124/3.363, allocations: 4.286 MB / 0.8899 GB, free: 86.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.062e-06/3.363, allocations: 0 / 0.8899 GB, free: 86.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01174/3.375, allocations: 1.692 MB / 0.8916 GB, free: 86.32 MB / 0.4949 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 () * 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.03213/3.407, allocations: 14.12 MB / 0.9053 GB, free: 79.32 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02183/3.429, allocations: 9.182 MB / 0.9143 GB, free: 72.69 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/3.429, allocations: 4 kB / 0.9143 GB, free: 72.69 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01016/3.44, allocations: 3.707 MB / 0.9179 GB, free: 69.52 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006752/3.446, allocations: 0.7072 MB / 0.9186 GB, free: 68.93 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5582/4.005, allocations: 188.7 MB / 1.103 GB, free: 61.11 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/4.017, allocations: 5.174 MB / 1.108 GB, free: 60.24 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00937/4.026, allocations: 3.344 MB / 1.111 GB, free: 60.24 MB / 0.5262 GB Notification: Performance of SimCode: time 1.623e-06/4.026, allocations: 3.625 kB / 1.111 GB, free: 60.24 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.823/9.849, allocations: 195.5 MB / 1.302 GB, free: 96.87 MB / 0.5262 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