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/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.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.306/2.306, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.239e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3348, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.538, allocations: 103.1 MB / 461.3 MB, free: 7.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.5384, allocations: 75.95 kB / 461.3 MB, free: 7.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.672/1.21, allocations: 89.16 MB / 0.5376 GB, free: 30.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.211, allocations: 0 / 0.5376 GB, free: 30.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002018/1.211, allocations: 84 kB / 0.5377 GB, free: 30.73 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: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01514/1.226, allocations: 4.141 MB / 0.5417 GB, free: 26.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.226, allocations: 12.03 kB / 0.5417 GB, free: 26.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03195/1.258, allocations: 4.424 MB / 0.546 GB, free: 22.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.275, allocations: 4.742 MB / 0.5507 GB, free: 17.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/1.276, allocations: 152 kB / 0.5508 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/1.278, allocations: 267.9 kB / 0.5511 GB, free: 16.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01571/1.294, allocations: 6.301 MB / 0.5572 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/1.319, allocations: 9.719 MB / 0.5667 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003194/1.319, allocations: 67.34 kB / 0.5668 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/1.321, allocations: 32 kB / 0.5668 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/1.324, allocations: 0.9761 MB / 0.5678 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09508/1.419, allocations: 44.75 MB / 0.6115 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007987/1.427, allocations: 2.702 MB / 0.6141 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/1.431, allocations: 1.536 MB / 0.6156 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007249/1.432, allocations: 344.3 kB / 0.6159 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.432, allocations: 63.84 kB / 0.616 GB, free: 11.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 5.871e-06/1.432, allocations: 0 / 0.616 GB, free: 11.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.3735/1.806, allocations: 12.35 MB / 0.6281 GB, free: 103.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/1.806, allocations: 198 kB / 0.6282 GB, free: 103.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008135/1.814, allocations: 2.958 MB / 0.6311 GB, free: 103 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005115/1.814, allocations: 25.7 kB / 0.6312 GB, free: 103 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003127/1.818, allocations: 3.275 MB / 0.6344 GB, free: 101.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.819, allocations: 0.7163 MB / 0.6351 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007464/1.82, allocations: 0 / 0.6351 GB, free: 101.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005199/1.82, allocations: 0.5685 MB / 0.6356 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00486/1.825, allocations: 1.946 MB / 0.6375 GB, free: 101.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007646/1.833, allocations: 5.754 MB / 0.6431 GB, free: 96.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/1.841, allocations: 3.323 MB / 0.6464 GB, free: 96.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/1.841, allocations: 36.75 kB / 0.6464 GB, free: 96.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01974/1.861, allocations: 6.951 MB / 0.6532 GB, free: 95.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.861, allocations: 63.34 kB / 0.6533 GB, free: 95.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/1.861, allocations: 137.9 kB / 0.6534 GB, free: 95.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/1.862, allocations: 391.5 kB / 0.6538 GB, free: 95.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009597/1.872, allocations: 1.491 MB / 0.6552 GB, free: 95.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/1.877, allocations: 2.895 MB / 0.658 GB, free: 94.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/1.884, allocations: 241 kB / 0.6583 GB, free: 94.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.885, allocations: 384.2 kB / 0.6586 GB, free: 94.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (780): * Single equations (assignments): 776 * 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.002092/1.888, allocations: 449.8 kB / 0.6591 GB, free: 93.86 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007412/1.895, allocations: 2.783 MB / 0.6618 GB, free: 93.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.896, allocations: 323.7 kB / 0.6621 GB, free: 93.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/1.903, allocations: 2.486 MB / 0.6645 GB, free: 93.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/1.903, allocations: 26 kB / 0.6646 GB, free: 93.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.903, allocations: 3.75 kB / 0.6646 GB, free: 93.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/1.903, allocations: 11.3 kB / 0.6646 GB, free: 93.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.924, allocations: 6.524 MB / 0.6709 GB, free: 91.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.924, allocations: 0 / 0.6709 GB, free: 91.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/1.927, allocations: 346.2 kB / 0.6713 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/1.928, allocations: 182.9 kB / 0.6714 GB, free: 91.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004076/1.929, allocations: 15.59 kB / 0.6715 GB, free: 91.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/1.933, allocations: 2.455 MB / 0.6739 GB, free: 89.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.933, allocations: 2 kB / 0.6739 GB, free: 89.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.944, allocations: 5.004 MB / 0.6787 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.946, allocations: 0.595 MB / 0.6793 GB, free: 86.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.947, allocations: 3.781 kB / 0.6793 GB, free: 86.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.95, allocations: 90.83 kB / 0.6794 GB, free: 86.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000727/1.951, allocations: 126.8 kB / 0.6795 GB, free: 86.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.951, allocations: 56.55 kB / 0.6796 GB, free: 86.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00496/1.956, allocations: 1.967 MB / 0.6815 GB, free: 86.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.956, allocations: 1.281 kB / 0.6815 GB, free: 86.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007648/1.964, allocations: 0.8527 MB / 0.6823 GB, free: 86.12 MB / 458.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 () * 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.01155/1.976, allocations: 5.797 MB / 0.688 GB, free: 83.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.986, allocations: 4.67 MB / 0.6926 GB, free: 81.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.986, allocations: 0 / 0.6926 GB, free: 81.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003241/1.99, allocations: 1.485 MB / 0.694 GB, free: 79.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.993, allocations: 307.8 kB / 0.6943 GB, free: 79.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/2.024, allocations: 9.418 MB / 0.7035 GB, free: 71.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007879/2.032, allocations: 3.538 MB / 0.707 GB, free: 68.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006387/2.038, allocations: 2.044 MB / 0.709 GB, free: 66.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/2.038, allocations: 3.5 kB / 0.709 GB, free: 66.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.588/6.626, allocations: 100.9 MB / 0.8075 GB, free: 114.3 MB / 490.7 MB 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