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.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.378e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3913, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.5735, allocations: 99.56 MB / 464.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5738, allocations: 75.95 kB / 464.3 MB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035/1.609, allocations: 170.1 MB / 0.6195 GB, free: 73.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.609, allocations: 0 / 0.6195 GB, free: 73.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006461/1.61, allocations: 168 kB / 0.6197 GB, free: 72.9 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03514/1.645, allocations: 8.262 MB / 0.6277 GB, free: 64.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.645, allocations: 8.031 kB / 0.6278 GB, free: 64.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007144/1.652, allocations: 1.471 MB / 0.6292 GB, free: 63.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08708/1.739, allocations: 12.08 MB / 0.641 GB, free: 50.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03831/1.777, allocations: 10.95 MB / 0.6517 GB, free: 39.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008801/1.778, allocations: 0.6342 MB / 0.6523 GB, free: 39.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005049/1.783, allocations: 0.8549 MB / 0.6531 GB, free: 38.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06542/1.849, allocations: 19.84 MB / 0.6725 GB, free: 17.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006675/1.85, allocations: 107 kB / 0.6726 GB, free: 16.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004302/1.854, allocations: 403.8 kB / 0.673 GB, free: 16.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004119/1.858, allocations: 1.815 MB / 0.6748 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05235/1.911, allocations: 16.04 MB / 0.6904 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5115/2.422, allocations: 82.11 MB / 0.7706 GB, free: 32.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03415/2.456, allocations: 8.061 MB / 0.7785 GB, free: 31.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008432/2.465, allocations: 4.075 MB / 0.7825 GB, free: 31.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/2.466, allocations: 0.6669 MB / 0.7831 GB, free: 31.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/2.466, allocations: 71.05 kB / 0.7832 GB, free: 31.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=311): time 8.305e-06/2.466, allocations: 0 / 0.7832 GB, free: 31.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=335): time 0.1202/2.586, allocations: 26.26 MB / 0.8088 GB, free: 23.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/2.586, allocations: 301.5 kB / 0.8091 GB, free: 23.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01828/2.605, allocations: 6.797 MB / 0.8158 GB, free: 20.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008984/2.606, allocations: 77.17 kB / 0.8158 GB, free: 20.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005264/2.611, allocations: 5.541 MB / 0.8212 GB, free: 16.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002114/2.613, allocations: 1.272 MB / 0.8225 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/2.615, allocations: 190.8 kB / 0.8227 GB, free: 15.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001024/2.616, allocations: 0.7197 MB / 0.8234 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009164/2.625, allocations: 3.434 MB / 0.8267 GB, free: 13.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.638, allocations: 9.111 MB / 0.8356 GB, free: 5.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/2.651, allocations: 5.542 MB / 0.841 GB, free: 2.949 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002762/2.652, allocations: 61.69 kB / 0.8411 GB, free: 2.891 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.04932/2.701, allocations: 12.99 MB / 0.8538 GB, free: 8.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/2.701, allocations: 97.31 kB / 0.8539 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000375/2.702, allocations: 200 kB / 0.8541 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/2.706, allocations: 1.05 MB / 0.8551 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/2.722, allocations: 2.244 MB / 0.8573 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/2.743, allocations: 11.27 MB / 0.8683 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01203/2.755, allocations: 0.5233 MB / 0.8688 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/2.758, allocations: 0.5747 MB / 0.8694 GB, free: 9.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003949/2.762, allocations: 0.8502 MB / 0.8702 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/2.764, allocations: 0.6749 MB / 0.8708 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/2.784, allocations: 5.952 MB / 0.8767 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/2.784, allocations: 36 kB / 0.8767 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/2.784, allocations: 12 kB / 0.8767 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.013e-05/2.784, allocations: 15.23 kB / 0.8767 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05232/2.836, allocations: 15.03 MB / 0.8914 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/2.836, allocations: 7 kB / 0.8914 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006344/2.843, allocations: 0.5595 MB / 0.8919 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/2.846, allocations: 0.6997 MB / 0.8926 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009736/2.847, allocations: 59.33 kB / 0.8927 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4167/3.264, allocations: 10.1 MB / 0.9025 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/3.264, allocations: 1.156 kB / 0.9026 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03619/3.3, allocations: 10.07 MB / 0.9124 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006246/3.307, allocations: 1.195 MB / 0.9135 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002471/3.309, allocations: 52.92 kB / 0.9136 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006628/3.316, allocations: 195.3 kB / 0.9138 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/3.317, allocations: 199.4 kB / 0.914 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004277/3.318, allocations: 86.47 kB / 0.9141 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01424/3.332, allocations: 4.846 MB / 0.9188 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.362e-06/3.332, allocations: 0 / 0.9188 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01312/3.345, allocations: 1.868 MB / 0.9206 GB, free: 119.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0255/3.371, allocations: 11.03 MB / 0.9314 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02171/3.392, allocations: 8.844 MB / 0.94 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/3.393, allocations: 0 / 0.94 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007252/3.4, allocations: 3.186 MB / 0.9431 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008244/3.408, allocations: 0.9338 MB / 0.944 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08/3.488, allocations: 18.69 MB / 0.9623 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02156/3.51, allocations: 6.125 MB / 0.9683 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01503/3.525, allocations: 4.153 MB / 0.9723 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.334e-06/3.525, allocations: 2.031 kB / 0.9723 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.923/10.45, allocations: 296.3 MB / 1.262 GB, free: 176 kB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat