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.DifferentiationOfForces.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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.364, allocations: 54.86 MB / 369.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.5547, allocations: 103.9 MB / 473.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.555, allocations: 87.78 kB / 473.3 MB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7248/1.28, allocations: 91.03 MB / 0.5511 GB, free: 83.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.406e-06/1.28, allocations: 0 / 0.5511 GB, free: 83.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002088/1.28, allocations: 84 kB / 0.5512 GB, free: 83 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01575/1.296, allocations: 4.395 MB / 0.5555 GB, free: 78.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.296, allocations: 12.02 kB / 0.5555 GB, free: 78.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/1.299, allocations: 0.8321 MB / 0.5563 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03178/1.331, allocations: 4.432 MB / 0.5607 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/1.348, allocations: 4.746 MB / 0.5653 GB, free: 68.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/1.348, allocations: 357.1 kB / 0.5656 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/1.35, allocations: 463.8 kB / 0.5661 GB, free: 67.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/1.378, allocations: 10.68 MB / 0.5765 GB, free: 55.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/1.378, allocations: 59.47 kB / 0.5766 GB, free: 55.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/1.38, allocations: 223.9 kB / 0.5768 GB, free: 55.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/1.381, allocations: 0.9915 MB / 0.5777 GB, free: 54.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/1.405, allocations: 8.66 MB / 0.5862 GB, free: 45.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/1.517, allocations: 46.88 MB / 0.632 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.527, allocations: 3.004 MB / 0.6349 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/1.528, allocations: 332.2 kB / 0.6352 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/1.528, allocations: 59.95 kB / 0.6353 GB, free: 9.961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.6e-06/1.528, allocations: 3.938 kB / 0.6353 GB, free: 9.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.05722/1.585, allocations: 13.88 MB / 0.6489 GB, free: 11.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.586, allocations: 205.2 kB / 0.6491 GB, free: 11.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009428/1.595, allocations: 3.377 MB / 0.6524 GB, free: 8.289 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00051/1.596, allocations: 49.7 kB / 0.6524 GB, free: 8.234 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003757/1.599, allocations: 3.163 MB / 0.6555 GB, free: 5.027 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.601, allocations: 0.7365 MB / 0.6562 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008064/1.602, allocations: 120 kB / 0.6563 GB, free: 4.164 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005566/1.602, allocations: 0.5628 MB / 0.6569 GB, free: 3.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00658/1.609, allocations: 2.116 MB / 0.6589 GB, free: 1.469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.619, allocations: 5.775 MB / 0.6646 GB, free: 9.859 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009485/1.629, allocations: 3.414 MB / 0.6679 GB, free: 6.441 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.629, allocations: 39.94 kB / 0.6679 GB, free: 6.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.3608/1.99, allocations: 7.766 MB / 0.6755 GB, free: 116.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.99, allocations: 58.53 kB / 0.6756 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/1.99, allocations: 129.2 kB / 0.6757 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.992, allocations: 390.2 kB / 0.6761 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/2, allocations: 1.424 MB / 0.6775 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/2.005, allocations: 3.045 MB / 0.6804 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006498/2.012, allocations: 343.7 kB / 0.6808 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/2.014, allocations: 371.5 kB / 0.6811 GB, free: 115.3 MB / 474.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.00627/2.02, allocations: 2.225 MB / 0.6833 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/2.021, allocations: 340.3 kB / 0.6836 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008959/2.03, allocations: 2.816 MB / 0.6864 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-05/2.03, allocations: 26.97 kB / 0.6864 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/2.03, allocations: 3.875 kB / 0.6864 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/2.03, allocations: 7.359 kB / 0.6864 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/2.053, allocations: 7.637 MB / 0.6939 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/2.054, allocations: 3.75 kB / 0.6939 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/2.057, allocations: 349.9 kB / 0.6942 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009189/2.058, allocations: 186.9 kB / 0.6944 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/2.058, allocations: 36.3 kB / 0.6944 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/2.063, allocations: 2.604 MB / 0.697 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.063, allocations: 7.344 kB / 0.697 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/2.076, allocations: 5.452 MB / 0.7023 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/2.078, allocations: 0.6216 MB / 0.7029 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.079, allocations: 37.62 kB / 0.7029 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/2.083, allocations: 118.3 kB / 0.7031 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/2.083, allocations: 127.7 kB / 0.7032 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/2.083, allocations: 57.62 kB / 0.7032 GB, free: 112.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0059/2.089, allocations: 2.353 MB / 0.7055 GB, free: 111.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.089, allocations: 0 / 0.7055 GB, free: 111.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007237/2.097, allocations: 0.9837 MB / 0.7065 GB, free: 111.2 MB / 474.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.01626/2.113, allocations: 6.268 MB / 0.7126 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0174/2.13, allocations: 5.109 MB / 0.7176 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/2.131, allocations: 0 / 0.7176 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005631/2.136, allocations: 1.641 MB / 0.7192 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/2.14, allocations: 390 kB / 0.7196 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1136/2.254, allocations: 122.8 MB / 0.8395 GB, free: 2.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009976/2.264, allocations: 3.609 MB / 0.843 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006094/2.27, allocations: 2.047 MB / 0.845 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/2.27, allocations: 0 / 0.845 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.604/6.874, allocations: 102.9 MB / 0.9455 GB, free: 101.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat