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.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.31e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3604, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.553, allocations: 99.92 MB / 458 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.5534, allocations: 71.97 kB / 458.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7372/1.291, allocations: 108.5 MB / 0.5533 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.291, allocations: 0 / 0.5533 GB, free: 14.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003524/1.291, allocations: 103.9 kB / 0.5534 GB, free: 14.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02116/1.312, allocations: 5.337 MB / 0.5587 GB, free: 8.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.312, allocations: 12.03 kB / 0.5587 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04972/1.362, allocations: 6.923 MB / 0.5654 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02565/1.388, allocations: 6.785 MB / 0.572 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/1.388, allocations: 172 kB / 0.5722 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/1.391, allocations: 316.4 kB / 0.5725 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02111/1.412, allocations: 7.233 MB / 0.5796 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/1.445, allocations: 11.4 MB / 0.5907 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003627/1.445, allocations: 83.27 kB / 0.5908 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/1.447, allocations: 40 kB / 0.5908 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/1.45, allocations: 1.196 MB / 0.592 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4507/1.901, allocations: 56.18 MB / 0.6469 GB, free: 56.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00632/1.907, allocations: 3.444 MB / 0.6502 GB, free: 56.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004011/1.911, allocations: 2.096 MB / 0.6523 GB, free: 56.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/1.911, allocations: 32.38 kB / 0.6523 GB, free: 56.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/1.912, allocations: 50.03 kB / 0.6523 GB, free: 56.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 6.652e-06/1.912, allocations: 0 / 0.6523 GB, free: 56.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.0543/1.966, allocations: 17.32 MB / 0.6693 GB, free: 52.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/1.966, allocations: 197.5 kB / 0.6694 GB, free: 52.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009561/1.976, allocations: 4.045 MB / 0.6734 GB, free: 52.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004957/1.976, allocations: 25.7 kB / 0.6734 GB, free: 52.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003537/1.98, allocations: 3.972 MB / 0.6773 GB, free: 50.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.981, allocations: 0.7565 MB / 0.678 GB, free: 49.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000841/1.982, allocations: 0 / 0.678 GB, free: 49.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005022/1.982, allocations: 0.6217 MB / 0.6786 GB, free: 49.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005339/1.988, allocations: 2.159 MB / 0.6808 GB, free: 49.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009104/1.997, allocations: 6.697 MB / 0.6873 GB, free: 43.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008541/2.005, allocations: 3.773 MB / 0.691 GB, free: 42.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001842/2.006, allocations: 46.97 kB / 0.691 GB, free: 42.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02266/2.028, allocations: 8.089 MB / 0.6989 GB, free: 39.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/2.029, allocations: 79.19 kB / 0.699 GB, free: 39.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002555/2.029, allocations: 161.6 kB / 0.6992 GB, free: 39.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/2.031, allocations: 0.5955 MB / 0.6997 GB, free: 39.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/2.041, allocations: 1.684 MB / 0.7014 GB, free: 39.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/2.049, allocations: 5.4 MB / 0.7067 GB, free: 35.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008182/2.058, allocations: 242.3 kB / 0.7069 GB, free: 35.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/2.06, allocations: 451.6 kB / 0.7073 GB, free: 35.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (906): * Single equations (assignments): 901 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002208/2.062, allocations: 0.5109 MB / 0.7078 GB, free: 35.42 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008212/2.07, allocations: 3.122 MB / 0.7109 GB, free: 34.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/2.072, allocations: 424.8 kB / 0.7113 GB, free: 34.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007903/2.079, allocations: 2.921 MB / 0.7141 GB, free: 32.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/2.08, allocations: 27.69 kB / 0.7141 GB, free: 32.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/2.08, allocations: 4 kB / 0.7141 GB, free: 32.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/2.08, allocations: 9.891 kB / 0.7142 GB, free: 32.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/2.1, allocations: 7.328 MB / 0.7213 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/2.101, allocations: 5.281 kB / 0.7213 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/2.103, allocations: 294.5 kB / 0.7216 GB, free: 25.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/2.105, allocations: 340.4 kB / 0.7219 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/2.105, allocations: 6.344 kB / 0.7219 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/2.112, allocations: 4.732 MB / 0.7266 GB, free: 21.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/2.113, allocations: 9.812 kB / 0.7266 GB, free: 21.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/2.124, allocations: 5.536 MB / 0.732 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003014/2.127, allocations: 0.7008 MB / 0.7327 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/2.128, allocations: 3.562 kB / 0.7327 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/2.132, allocations: 64.31 kB / 0.7327 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/2.132, allocations: 109.3 kB / 0.7328 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/2.132, allocations: 52.78 kB / 0.7329 GB, free: 15.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006179/2.139, allocations: 2.743 MB / 0.7355 GB, free: 12.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.139, allocations: 3.938 kB / 0.7356 GB, free: 12.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008287/2.147, allocations: 1.033 MB / 0.7366 GB, free: 11.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (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 (156): * Single equations (assignments): 151 * 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 {(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.01111/2.158, allocations: 6.462 MB / 0.7429 GB, free: 5.992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/2.169, allocations: 5.326 MB / 0.7481 GB, free: 1.195 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/2.169, allocations: 3.562 kB / 0.7481 GB, free: 1.195 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/2.173, allocations: 1.654 MB / 0.7497 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/2.177, allocations: 494.2 kB / 0.7502 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03804/2.215, allocations: 11.42 MB / 0.7613 GB, free: 5.453 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009841/2.225, allocations: 4.132 MB / 0.7653 GB, free: 2.383 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007014/2.232, allocations: 2.552 MB / 0.7678 GB, free: 16 kB / 474.7 MB Notification: Performance of SimCode: time 1.873e-06/2.232, allocations: 0 / 0.7678 GB, free: 16 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.07/7.302, allocations: 144 MB / 0.9085 GB, free: 99.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat