Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.07/2.07, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004463, allocations: 12 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 48.71 MB / 331.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6044, allocations: 97.25 MB / 428.6 MB, free: 3.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.6048, allocations: 79.95 kB / 428.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9069/1.512, allocations: 148.4 MB / 0.5636 GB, free: 69.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.126e-06/1.512, allocations: 0 / 0.5636 GB, free: 69.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004852/1.512, allocations: 152 kB / 0.5637 GB, free: 69.25 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03326/1.546, allocations: 7.908 MB / 0.5715 GB, free: 61.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.546, allocations: 12.03 kB / 0.5715 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006459/1.552, allocations: 1.368 MB / 0.5728 GB, free: 59.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05417/1.606, allocations: 7.318 MB / 0.5799 GB, free: 52.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/1.634, allocations: 7.916 MB / 0.5877 GB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007498/1.635, allocations: 0.5777 MB / 0.5882 GB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004504/1.639, allocations: 0.773 MB / 0.589 GB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05938/1.699, allocations: 18.98 MB / 0.6075 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005691/1.699, allocations: 91.2 kB / 0.6076 GB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004292/1.704, allocations: 371.8 kB / 0.608 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004215/1.708, allocations: 1.829 MB / 0.6098 GB, free: 20.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04899/1.757, allocations: 15.58 MB / 0.625 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6109/2.368, allocations: 81.68 MB / 0.7047 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04028/2.408, allocations: 8.751 MB / 0.7133 GB, free: 26.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02951/2.438, allocations: 11.7 MB / 0.7247 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/2.438, allocations: 72.56 kB / 0.7248 GB, free: 24.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=347): time 8.536e-06/2.438, allocations: 0 / 0.7248 GB, free: 24.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.1711/2.609, allocations: 36.5 MB / 0.7604 GB, free: 11.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/2.609, allocations: 249.8 kB / 0.7607 GB, free: 11.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02469/2.634, allocations: 6.563 MB / 0.7671 GB, free: 8.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001323/2.635, allocations: 81.7 kB / 0.7672 GB, free: 8.691 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006702/2.642, allocations: 5.003 MB / 0.772 GB, free: 4.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003422/2.646, allocations: 1.44 MB / 0.7734 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/2.648, allocations: 202 kB / 0.7736 GB, free: 2.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001096/2.649, allocations: 0.7297 MB / 0.7744 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05216/2.701, allocations: 4.684 MB / 0.7789 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/2.722, allocations: 9.683 MB / 0.7884 GB, free: 4.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/2.741, allocations: 6.254 MB / 0.7945 GB, free: 15.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002555/2.741, allocations: 59.09 kB / 0.7945 GB, free: 15.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04937/2.791, allocations: 14.87 MB / 0.8091 GB, free: 2.859 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/2.791, allocations: 88 kB / 0.8092 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004212/2.791, allocations: 199.3 kB / 0.8093 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008296/2.8, allocations: 1.724 MB / 0.811 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4168/3.217, allocations: 2.419 MB / 0.8134 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03819/3.255, allocations: 11.73 MB / 0.8249 GB, free: 97.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0199/3.275, allocations: 0.577 MB / 0.8254 GB, free: 97.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004341/3.279, allocations: 0.5766 MB / 0.826 GB, free: 97.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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.01872/3.298, allocations: 3.61 MB / 0.8295 GB, free: 97.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004151/3.302, allocations: 0.6431 MB / 0.8301 GB, free: 97.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0378/3.34, allocations: 8.24 MB / 0.8382 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/3.34, allocations: 39.56 kB / 0.8382 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-05/3.34, allocations: 6.281 kB / 0.8382 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000145/3.341, allocations: 20.81 kB / 0.8382 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05895/3.399, allocations: 18.28 MB / 0.8561 GB, free: 93.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.095e-05/3.4, allocations: 7.75 kB / 0.8561 GB, free: 93.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007492/3.407, allocations: 0.7677 MB / 0.8569 GB, free: 93.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006354/3.414, allocations: 1.423 MB / 0.8582 GB, free: 92.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009883/3.415, allocations: 78.75 kB / 0.8583 GB, free: 92.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/3.436, allocations: 10.92 MB / 0.869 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/3.436, allocations: 13.38 kB / 0.869 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03313/3.469, allocations: 14.51 MB / 0.8832 GB, free: 80.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/3.475, allocations: 1.32 MB / 0.8845 GB, free: 79.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002653/3.477, allocations: 74.98 kB / 0.8845 GB, free: 79.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007024/3.485, allocations: 254.5 kB / 0.8848 GB, free: 79.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/3.486, allocations: 241.6 kB / 0.885 GB, free: 79.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004526/3.487, allocations: 98.45 kB / 0.8851 GB, free: 79.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01301/3.5, allocations: 4.722 MB / 0.8897 GB, free: 77.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.094e-06/3.5, allocations: 1.938 kB / 0.8897 GB, free: 77.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01404/3.514, allocations: 1.875 MB / 0.8915 GB, free: 77.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.0423/3.556, allocations: 16.26 MB / 0.9074 GB, free: 63.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02503/3.581, allocations: 10.12 MB / 0.9173 GB, free: 54.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/3.581, allocations: 0 / 0.9173 GB, free: 54.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01156/3.593, allocations: 4.031 MB / 0.9212 GB, free: 51.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007439/3.6, allocations: 0.7724 MB / 0.922 GB, free: 50.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7162/4.317, allocations: 210.2 MB / 1.127 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02148/4.338, allocations: 5.633 MB / 1.133 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/4.352, allocations: 3.754 MB / 1.136 GB, free: 9.305 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/4.352, allocations: 0 / 1.136 GB, free: 9.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.287/10.64, allocations: 214.5 MB / 1.346 GB, free: 2.41 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat