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.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.811e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3636, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.5456, allocations: 98.7 MB / 456.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5459, allocations: 71.97 kB / 456.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9044/1.45, allocations: 159.1 MB / 0.6016 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.45, allocations: 0 / 0.6016 GB, free: 12.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006615/1.451, allocations: 159.9 kB / 0.6017 GB, free: 12.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03586/1.487, allocations: 8.006 MB / 0.6095 GB, free: 4.395 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/1.487, allocations: 8.031 kB / 0.6095 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09088/1.578, allocations: 12.03 MB / 0.6213 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3776/1.956, allocations: 10.79 MB / 0.6318 GB, free: 62.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006222/1.956, allocations: 265.7 kB / 0.6321 GB, free: 62.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004275/1.961, allocations: 495.2 kB / 0.6325 GB, free: 62.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02839/1.989, allocations: 10.98 MB / 0.6433 GB, free: 62.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04306/2.032, allocations: 16.52 MB / 0.6594 GB, free: 58.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/2.033, allocations: 107.1 kB / 0.6595 GB, free: 58.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003305/2.036, allocations: 49.09 kB / 0.6595 GB, free: 58.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/2.04, allocations: 1.722 MB / 0.6612 GB, free: 58.47 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/2.163, allocations: 76.34 MB / 0.7358 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/2.18, allocations: 5.875 MB / 0.7415 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03493/2.215, allocations: 4.012 MB / 0.7454 GB, free: 6.984 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/2.216, allocations: 0.6621 MB / 0.7461 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.429e-05/2.216, allocations: 71.45 kB / 0.7462 GB, free: 6.336 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 9.468e-06/2.216, allocations: 0 / 0.7462 GB, free: 6.336 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.1466/2.363, allocations: 35.05 MB / 0.7804 GB, free: 14.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/2.363, allocations: 299.8 kB / 0.7807 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.376, allocations: 5.349 MB / 0.7859 GB, free: 9.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008518/2.377, allocations: 27.89 kB / 0.7859 GB, free: 9.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006066/2.383, allocations: 5.49 MB / 0.7913 GB, free: 4.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/2.385, allocations: 1.232 MB / 0.7925 GB, free: 3.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/2.386, allocations: 0 / 0.7925 GB, free: 3.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008673/2.387, allocations: 0.7209 MB / 0.7932 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00891/2.396, allocations: 3.269 MB / 0.7964 GB, free: 232 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02791/2.424, allocations: 9.74 MB / 0.8059 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/2.437, allocations: 5.333 MB / 0.8111 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002265/2.438, allocations: 64 kB / 0.8112 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.3866/2.824, allocations: 11.58 MB / 0.8225 GB, free: 95.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/2.824, allocations: 90.06 kB / 0.8225 GB, free: 95.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002917/2.825, allocations: 200.9 kB / 0.8227 GB, free: 95.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/2.829, allocations: 0.9995 MB / 0.8237 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.843, allocations: 2.234 MB / 0.8259 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/2.859, allocations: 10.58 MB / 0.8362 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.87, allocations: 339.1 kB / 0.8366 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/2.872, allocations: 0.5725 MB / 0.8371 GB, free: 90.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1189): * Single equations (assignments): 1182 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00225/2.875, allocations: 0.6238 MB / 0.8377 GB, free: 90.79 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0136/2.888, allocations: 5.561 MB / 0.8432 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/2.89, allocations: 0.5839 MB / 0.8437 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/2.904, allocations: 5.628 MB / 0.8492 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.786e-05/2.904, allocations: 33.72 kB / 0.8492 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/2.904, allocations: 10.25 kB / 0.8493 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/2.905, allocations: 17.98 kB / 0.8493 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/2.942, allocations: 13.13 MB / 0.8621 GB, free: 89.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/2.942, allocations: 5.812 kB / 0.8621 GB, free: 89.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005362/2.947, allocations: 0.5326 MB / 0.8626 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/2.95, allocations: 0.6575 MB / 0.8633 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005897/2.951, allocations: 16.84 kB / 0.8633 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/2.964, allocations: 9.462 MB / 0.8725 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/2.964, allocations: 3.938 kB / 0.8725 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/2.986, allocations: 9.654 MB / 0.882 GB, free: 82.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004231/2.99, allocations: 1.061 MB / 0.883 GB, free: 82.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/2.992, allocations: 7.141 kB / 0.883 GB, free: 82.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005784/2.998, allocations: 145.8 kB / 0.8831 GB, free: 82.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/2.999, allocations: 195 kB / 0.8833 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/3, allocations: 88 kB / 0.8834 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0097/3.01, allocations: 3.649 MB / 0.887 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.002e-06/3.01, allocations: 0 / 0.887 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01282/3.022, allocations: 1.577 MB / 0.8885 GB, free: 80.89 MB / 0.4948 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 (280): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02344/3.046, allocations: 10.61 MB / 0.8989 GB, free: 75.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0186/3.065, allocations: 8.277 MB / 0.907 GB, free: 72.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/3.065, allocations: 5.281 kB / 0.907 GB, free: 72.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/3.071, allocations: 3.057 MB / 0.9099 GB, free: 71.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006839/3.078, allocations: 0.7349 MB / 0.9107 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05451/3.132, allocations: 17.64 MB / 0.9279 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/3.146, allocations: 5.908 MB / 0.9337 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00975/3.156, allocations: 3.978 MB / 0.9375 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of SimCode: time 2.294e-06/3.156, allocations: 0 / 0.9375 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.427/9.583, allocations: 279.3 MB / 1.21 GB, free: 118.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat