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/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.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.433/2.433, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.359e-05, allocations: 0 / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4315, allocations: 54.85 MB / 364.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.6193, allocations: 101.3 MB / 465.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6197, allocations: 79.95 kB / 466 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.874/1.494, allocations: 133 MB / 0.5849 GB, free: 100.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.494, allocations: 0 / 0.5849 GB, free: 100.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004094/1.494, allocations: 128.6 kB / 0.5851 GB, free: 100.7 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02795/1.522, allocations: 6.438 MB / 0.5914 GB, free: 96.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.522, allocations: 10.06 kB / 0.5914 GB, free: 96.98 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005958/1.528, allocations: 1.197 MB / 0.5925 GB, free: 96.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05491/1.583, allocations: 7.129 MB / 0.5995 GB, free: 92.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/1.61, allocations: 7.237 MB / 0.6066 GB, free: 86.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/1.611, allocations: 0.5019 MB / 0.607 GB, free: 85.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004321/1.615, allocations: 0.6753 MB / 0.6077 GB, free: 85.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05382/1.669, allocations: 16.61 MB / 0.6239 GB, free: 67.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005112/1.67, allocations: 83.19 kB / 0.624 GB, free: 67.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003805/1.674, allocations: 331.8 kB / 0.6243 GB, free: 66.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/1.677, allocations: 1.558 MB / 0.6258 GB, free: 65.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04405/1.721, allocations: 13.78 MB / 0.6393 GB, free: 51.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4717/2.193, allocations: 70.13 MB / 0.7078 GB, free: 93.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03657/2.23, allocations: 7.836 MB / 0.7154 GB, free: 92.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009105/2.239, allocations: 3.885 MB / 0.7192 GB, free: 92.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/2.239, allocations: 56 kB / 0.7193 GB, free: 92.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.797e-05/2.239, allocations: 67.69 kB / 0.7193 GB, free: 92.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.714e-06/2.239, allocations: 0 / 0.7193 GB, free: 92.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1323/2.372, allocations: 28.25 MB / 0.7469 GB, free: 88.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.372, allocations: 216.1 kB / 0.7471 GB, free: 88.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01492/2.387, allocations: 5.571 MB / 0.7526 GB, free: 88.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001102/2.388, allocations: 80.55 kB / 0.7527 GB, free: 88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004167/2.392, allocations: 4.377 MB / 0.7569 GB, free: 85.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002283/2.395, allocations: 1.238 MB / 0.7581 GB, free: 84.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/2.396, allocations: 173.7 kB / 0.7583 GB, free: 84.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008689/2.397, allocations: 0.6739 MB / 0.759 GB, free: 83.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009917/2.407, allocations: 3.707 MB / 0.7626 GB, free: 82.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/2.421, allocations: 8.522 MB / 0.7709 GB, free: 74.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/2.434, allocations: 5.563 MB / 0.7763 GB, free: 72.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002723/2.434, allocations: 48.16 kB / 0.7764 GB, free: 72.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03909/2.473, allocations: 13.33 MB / 0.7894 GB, free: 66.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/2.474, allocations: 84.25 kB / 0.7895 GB, free: 66.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/2.474, allocations: 168 kB / 0.7896 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007138/2.481, allocations: 1.682 MB / 0.7913 GB, free: 64.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/2.496, allocations: 2.096 MB / 0.7933 GB, free: 63.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/2.517, allocations: 11.35 MB / 0.8044 GB, free: 52.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.529, allocations: 0.5246 MB / 0.8049 GB, free: 52.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/2.532, allocations: 0.5016 MB / 0.8054 GB, free: 51.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * 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 (1047): * Single equations (assignments): 1042 * 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.003849/2.535, allocations: 0.7612 MB / 0.8062 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/2.537, allocations: 0.5515 MB / 0.8067 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03029/2.568, allocations: 7.419 MB / 0.8139 GB, free: 44.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.784e-05/2.568, allocations: 38.52 kB / 0.814 GB, free: 44.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-05/2.568, allocations: 8.656 kB / 0.814 GB, free: 44.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/2.568, allocations: 24.64 kB / 0.814 GB, free: 44.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06443/2.632, allocations: 16.27 MB / 0.8299 GB, free: 30.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.223e-05/2.633, allocations: 4 kB / 0.8299 GB, free: 30.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007038/2.64, allocations: 0.6517 MB / 0.8305 GB, free: 29.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006567/2.646, allocations: 1.418 MB / 0.8319 GB, free: 28.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.647, allocations: 59.95 kB / 0.832 GB, free: 28.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/2.669, allocations: 10.59 MB / 0.8423 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/2.669, allocations: 4 kB / 0.8423 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03147/2.7, allocations: 12.7 MB / 0.8547 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005609/2.706, allocations: 1.208 MB / 0.8559 GB, free: 3.359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002567/2.708, allocations: 59.94 kB / 0.856 GB, free: 3.301 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006996/2.716, allocations: 271.1 kB / 0.8562 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001452/2.717, allocations: 201.8 kB / 0.8564 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005187/2.718, allocations: 91.98 kB / 0.8565 GB, free: 2.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01097/2.729, allocations: 3.942 MB / 0.8604 GB, free: 14.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.113e-06/2.729, allocations: 0 / 0.8604 GB, free: 14.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01235/2.741, allocations: 1.665 MB / 0.862 GB, free: 13.15 MB / 490.7 MB 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 (278): * Single equations (assignments): 273 * 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.03707/2.778, allocations: 14.08 MB / 0.8757 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02489/2.803, allocations: 9.175 MB / 0.8847 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.803, allocations: 0 / 0.8847 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3681/3.171, allocations: 3.792 MB / 0.8884 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006632/3.178, allocations: 0.6652 MB / 0.889 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06077/3.239, allocations: 16.35 MB / 0.905 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01263/3.251, allocations: 4.992 MB / 0.9099 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009454/3.261, allocations: 3.229 MB / 0.913 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/3.261, allocations: 0 / 0.913 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.055/9.316, allocations: 188.5 MB / 1.097 GB, free: 123.7 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