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.ForceWithTwoMasses.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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004538, allocations: 16 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3442, allocations: 54.88 MB / 369.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.5197, allocations: 99.85 MB / 469.2 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.5201, allocations: 79.95 kB / 469.3 MB, free: 6.664 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6055/1.126, allocations: 76.35 MB / 0.5329 GB, free: 39.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.977e-06/1.126, allocations: 0 / 0.5329 GB, free: 39.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002217/1.126, allocations: 75.94 kB / 0.5329 GB, free: 39.24 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01491/1.141, allocations: 3.837 MB / 0.5367 GB, free: 35.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.141, allocations: 8.031 kB / 0.5367 GB, free: 35.33 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003025/1.144, allocations: 0.6676 MB / 0.5373 GB, free: 34.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03134/1.175, allocations: 4.32 MB / 0.5416 GB, free: 30.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.192, allocations: 4.479 MB / 0.5459 GB, free: 25.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/1.193, allocations: 279.1 kB / 0.5462 GB, free: 25.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/1.195, allocations: 371.7 kB / 0.5465 GB, free: 25.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/1.22, allocations: 9.131 MB / 0.5555 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/1.22, allocations: 67.45 kB / 0.5555 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/1.221, allocations: 175.9 kB / 0.5557 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/1.223, allocations: 0.8804 MB / 0.5566 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/1.244, allocations: 7.321 MB / 0.5637 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06835/1.313, allocations: 44.05 MB / 0.6067 GB, free: 8.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/1.329, allocations: 3.498 MB / 0.6101 GB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/1.348, allocations: 7.19 MB / 0.6172 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/1.349, allocations: 55.5 kB / 0.6172 GB, free: 13.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 9.478e-06/1.349, allocations: 0 / 0.6172 GB, free: 13.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.1168/1.465, allocations: 19.61 MB / 0.6364 GB, free: 9.973 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.466, allocations: 209.2 kB / 0.6366 GB, free: 9.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008336/1.474, allocations: 3.292 MB / 0.6398 GB, free: 6.445 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/1.474, allocations: 57.64 kB / 0.6398 GB, free: 6.383 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003308/1.478, allocations: 2.76 MB / 0.6425 GB, free: 3.586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.479, allocations: 0.698 MB / 0.6432 GB, free: 2.879 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008482/1.48, allocations: 120 kB / 0.6433 GB, free: 2.762 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005583/1.481, allocations: 0.5546 MB / 0.6439 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/1.487, allocations: 2.002 MB / 0.6458 GB, free: 192 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3304/1.817, allocations: 5.519 MB / 0.6512 GB, free: 118.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008384/1.826, allocations: 3.272 MB / 0.6544 GB, free: 118.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/1.826, allocations: 36.47 kB / 0.6544 GB, free: 118.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03154/1.857, allocations: 9.01 MB / 0.6632 GB, free: 118.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.858, allocations: 57.88 kB / 0.6633 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/1.858, allocations: 123.5 kB / 0.6634 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/1.868, allocations: 1.594 MB / 0.665 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007804/1.876, allocations: 1.278 MB / 0.6662 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/1.901, allocations: 9.566 MB / 0.6756 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006603/1.908, allocations: 306.1 kB / 0.6759 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/1.909, allocations: 368.5 kB / 0.6762 GB, free: 116.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (691): * Single equations (assignments): 687 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005748/1.915, allocations: 1.889 MB / 0.6781 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008407/1.916, allocations: 327.2 kB / 0.6784 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/1.933, allocations: 3.931 MB / 0.6822 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/1.933, allocations: 22.59 kB / 0.6822 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.933, allocations: 14.2 kB / 0.6822 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/1.933, allocations: 7.734 kB / 0.6822 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.961, allocations: 8.121 MB / 0.6902 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/1.961, allocations: 6.062 kB / 0.6902 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.964, allocations: 240.7 kB / 0.6904 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008786/1.972, allocations: 1.279 MB / 0.6917 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00046/1.973, allocations: 31.33 kB / 0.6917 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/1.993, allocations: 7.829 MB / 0.6993 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.993, allocations: 3.625 kB / 0.6993 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/2.014, allocations: 6.319 MB / 0.7055 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/2.016, allocations: 0.6013 MB / 0.7061 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009528/2.017, allocations: 29.95 kB / 0.7061 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/2.02, allocations: 101 kB / 0.7062 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/2.021, allocations: 108 kB / 0.7063 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/2.021, allocations: 47.28 kB / 0.7064 GB, free: 103.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006097/2.027, allocations: 2.293 MB / 0.7086 GB, free: 101.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.31e-07/2.027, allocations: 0 / 0.7086 GB, free: 101.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00673/2.034, allocations: 0.9706 MB / 0.7096 GB, free: 100.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (129): * Single equations (assignments): 125 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02048/2.054, allocations: 7.147 MB / 0.7165 GB, free: 94.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/2.066, allocations: 4.986 MB / 0.7214 GB, free: 89.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/2.066, allocations: 4.812 kB / 0.7214 GB, free: 89.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/2.07, allocations: 1.634 MB / 0.723 GB, free: 88.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/2.073, allocations: 364.4 kB / 0.7234 GB, free: 88.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4475/2.52, allocations: 118.6 MB / 0.8392 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004897/2.525, allocations: 3.041 MB / 0.8421 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003462/2.529, allocations: 1.682 MB / 0.8438 GB, free: 131.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/2.529, allocations: 0 / 0.8438 GB, free: 131.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.308/6.837, allocations: 89.53 MB / 0.9312 GB, free: 69.28 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat