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.DifferentiationOfForces.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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.000634, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.352, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.526, allocations: 97.09 MB / 428.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5263, allocations: 75.97 kB / 428.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6663/1.193, allocations: 91.05 MB / 0.5074 GB, free: 87.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.193, allocations: 0 / 0.5074 GB, free: 87.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002324/1.193, allocations: 89.62 kB / 0.5075 GB, free: 87.84 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01686/1.21, allocations: 4.396 MB / 0.5118 GB, free: 84.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.21, allocations: 8.594 kB / 0.5118 GB, free: 84.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003586/1.213, allocations: 0.8353 MB / 0.5126 GB, free: 84.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03224/1.246, allocations: 4.43 MB / 0.5169 GB, free: 80.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.263, allocations: 4.755 MB / 0.5216 GB, free: 75.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/1.263, allocations: 350.4 kB / 0.5219 GB, free: 75.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/1.266, allocations: 460.6 kB / 0.5223 GB, free: 74.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.295, allocations: 10.68 MB / 0.5328 GB, free: 63.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/1.296, allocations: 59.41 kB / 0.5328 GB, free: 63.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/1.298, allocations: 223.8 kB / 0.533 GB, free: 62.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/1.3, allocations: 0.9994 MB / 0.534 GB, free: 61.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/1.324, allocations: 8.644 MB / 0.5425 GB, free: 53.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/1.388, allocations: 46.87 MB / 0.5882 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009229/1.397, allocations: 3.017 MB / 0.5912 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/1.398, allocations: 344.2 kB / 0.5915 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/1.398, allocations: 47.56 kB / 0.5915 GB, free: 1.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=176): time 5.811e-06/1.398, allocations: 0 / 0.5915 GB, free: 1.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=194): time 0.05542/1.453, allocations: 13.89 MB / 0.6051 GB, free: 3.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.453, allocations: 209.2 kB / 0.6053 GB, free: 2.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008632/1.462, allocations: 3.394 MB / 0.6086 GB, free: 15.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004916/1.463, allocations: 53.7 kB / 0.6087 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003631/1.466, allocations: 3.148 MB / 0.6117 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.468, allocations: 0.7443 MB / 0.6125 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008159/1.469, allocations: 120 kB / 0.6126 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006085/1.469, allocations: 0.5628 MB / 0.6131 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006622/1.476, allocations: 2.12 MB / 0.6152 GB, free: 8.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.486, allocations: 5.772 MB / 0.6208 GB, free: 1.074 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3161/1.803, allocations: 3.415 MB / 0.6242 GB, free: 105.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.803, allocations: 37.78 kB / 0.6242 GB, free: 105.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02269/1.825, allocations: 7.759 MB / 0.6318 GB, free: 104.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.826, allocations: 63.88 kB / 0.6319 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002404/1.826, allocations: 130.1 kB / 0.632 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.827, allocations: 385.8 kB / 0.6323 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008821/1.836, allocations: 1.426 MB / 0.6337 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/1.841, allocations: 3.047 MB / 0.6367 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006614/1.848, allocations: 349.3 kB / 0.637 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.849, allocations: 367.8 kB / 0.6374 GB, free: 103.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006289/1.856, allocations: 2.228 MB / 0.6396 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009019/1.857, allocations: 345.4 kB / 0.6399 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009256/1.866, allocations: 2.818 MB / 0.6427 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/1.866, allocations: 22.56 kB / 0.6427 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.866, allocations: 8.531 kB / 0.6427 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/1.866, allocations: 7.641 kB / 0.6427 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/1.892, allocations: 7.65 MB / 0.6502 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/1.892, allocations: 3.281 kB / 0.6502 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003485/1.896, allocations: 351.6 kB / 0.6505 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/1.897, allocations: 182 kB / 0.6507 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005003/1.897, allocations: 36.41 kB / 0.6507 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/1.902, allocations: 2.607 MB / 0.6533 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.902, allocations: 3.312 kB / 0.6533 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.915, allocations: 5.46 MB / 0.6586 GB, free: 96.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/1.917, allocations: 0.628 MB / 0.6592 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.919, allocations: 30.31 kB / 0.6592 GB, free: 96.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/1.922, allocations: 119.9 kB / 0.6593 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007017/1.922, allocations: 128.7 kB / 0.6595 GB, free: 96.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.923, allocations: 56.97 kB / 0.6595 GB, free: 96.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006179/1.929, allocations: 2.359 MB / 0.6618 GB, free: 95.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.103e-06/1.929, allocations: 0 / 0.6618 GB, free: 95.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007821/1.937, allocations: 0.9941 MB / 0.6628 GB, free: 95.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0155/1.952, allocations: 6.275 MB / 0.6689 GB, free: 92.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.966, allocations: 5.11 MB / 0.6739 GB, free: 90.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.966, allocations: 0 / 0.6739 GB, free: 90.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00426/1.97, allocations: 1.634 MB / 0.6755 GB, free: 88.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.974, allocations: 396.6 kB / 0.6759 GB, free: 88.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4111/2.385, allocations: 123.2 MB / 0.7962 GB, free: 136.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007986/2.393, allocations: 3.549 MB / 0.7996 GB, free: 135.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004911/2.398, allocations: 2.05 MB / 0.8016 GB, free: 135.9 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/2.398, allocations: 3.609 kB / 0.8016 GB, free: 135.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.411/6.809, allocations: 102.9 MB / 0.9021 GB, free: 66.33 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat