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.228/2.228, allocations: 235 MB / 248 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.953e-05, allocations: 4 kB / 309.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 54.86 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.6147, allocations: 99.77 MB / 464.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.6151, allocations: 75.95 kB / 464.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6703/1.285, allocations: 76.39 MB / 0.5282 GB, free: 107.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.285, allocations: 0 / 0.5282 GB, free: 107.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003461/1.286, allocations: 68.06 kB / 0.5282 GB, free: 107.9 MB / 458.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.01506/1.301, allocations: 3.591 MB / 0.5318 GB, free: 107.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.301, allocations: 9.25 kB / 0.5318 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003109/1.304, allocations: 0.6629 MB / 0.5324 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06668/1.371, allocations: 4.327 MB / 0.5366 GB, free: 107 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02319/1.394, allocations: 4.461 MB / 0.541 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/1.395, allocations: 270.3 kB / 0.5412 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/1.397, allocations: 369.9 kB / 0.5416 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/1.425, allocations: 9.077 MB / 0.5505 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002921/1.426, allocations: 56.25 kB / 0.5505 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.427, allocations: 186.4 kB / 0.5507 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/1.429, allocations: 0.8822 MB / 0.5516 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/1.451, allocations: 7.206 MB / 0.5586 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/1.51, allocations: 44.07 MB / 0.6016 GB, free: 69.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/1.525, allocations: 3.474 MB / 0.605 GB, free: 68.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.529, allocations: 1.588 MB / 0.6066 GB, free: 67.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01819/1.547, allocations: 7.196 MB / 0.6136 GB, free: 63.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.547, allocations: 47.16 kB / 0.6136 GB, free: 63.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 5.901e-06/1.547, allocations: 0 / 0.6136 GB, free: 63.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.09487/1.642, allocations: 17.05 MB / 0.6303 GB, free: 53.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/1.642, allocations: 208.5 kB / 0.6305 GB, free: 52.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009862/1.652, allocations: 3.263 MB / 0.6337 GB, free: 49.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005482/1.653, allocations: 57.7 kB / 0.6337 GB, free: 49.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003526/1.656, allocations: 2.764 MB / 0.6364 GB, free: 47.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.658, allocations: 0.7005 MB / 0.6371 GB, free: 46.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.659, allocations: 116 kB / 0.6372 GB, free: 46.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007215/1.66, allocations: 0.559 MB / 0.6378 GB, free: 46.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007305/1.667, allocations: 1.938 MB / 0.6397 GB, free: 44.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.678, allocations: 5.469 MB / 0.645 GB, free: 37.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.688, allocations: 3.243 MB / 0.6482 GB, free: 34.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/1.688, allocations: 39.94 kB / 0.6482 GB, free: 34.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03704/1.725, allocations: 8.832 MB / 0.6568 GB, free: 26.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/1.725, allocations: 60 kB / 0.6569 GB, free: 26.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/1.725, allocations: 128.8 kB / 0.657 GB, free: 26.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009236/1.734, allocations: 1.542 MB / 0.6585 GB, free: 24.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007937/1.742, allocations: 1.279 MB / 0.6598 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/1.765, allocations: 8.948 MB / 0.6685 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006606/1.771, allocations: 315.5 kB / 0.6688 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.773, allocations: 360 kB / 0.6692 GB, free: 13.88 MB / 458.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 () * 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.00176/1.775, allocations: 0.5438 MB / 0.6697 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008941/1.776, allocations: 327.7 kB / 0.67 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.791, allocations: 3.809 MB / 0.6737 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/1.791, allocations: 23.94 kB / 0.6737 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.792, allocations: 8 kB / 0.6738 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.792, allocations: 11.91 kB / 0.6738 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.82, allocations: 7.998 MB / 0.6816 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.82, allocations: 3.938 kB / 0.6816 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.822, allocations: 239.7 kB / 0.6818 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008146/1.83, allocations: 1.232 MB / 0.683 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/1.831, allocations: 28 kB / 0.683 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/1.851, allocations: 7.287 MB / 0.6902 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.851, allocations: 0 / 0.6902 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/1.873, allocations: 6.164 MB / 0.6962 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/1.875, allocations: 0.5943 MB / 0.6968 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008362/1.876, allocations: 31.62 kB / 0.6968 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/1.879, allocations: 99.5 kB / 0.6969 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005023/1.879, allocations: 109.1 kB / 0.697 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.879, allocations: 52.05 kB / 0.697 GB, free: 1.109 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006213/1.886, allocations: 2.265 MB / 0.6992 GB, free: 14.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.446e-06/1.886, allocations: 0 / 0.6992 GB, free: 14.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007063/1.893, allocations: 0.9647 MB / 0.7002 GB, free: 13.89 MB / 490.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 () * 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.02258/1.915, allocations: 6.988 MB / 0.707 GB, free: 6.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01686/1.932, allocations: 4.889 MB / 0.7118 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.932, allocations: 0 / 0.7118 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005993/1.938, allocations: 1.59 MB / 0.7133 GB, free: 392 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/1.943, allocations: 357 kB / 0.7137 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4143/2.358, allocations: 8.406 MB / 0.7219 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007956/2.366, allocations: 3.039 MB / 0.7249 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004274/2.37, allocations: 1.682 MB / 0.7265 GB, free: 124.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/2.37, allocations: 0 / 0.7265 GB, free: 124.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.34/6.71, allocations: 89.38 MB / 0.8138 GB, free: 79.69 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