Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.931e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4436, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.6045, allocations: 88.84 MB / 447 MB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6049, allocations: 71.97 kB / 447 MB, free: 5.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4946/1.099, allocations: 45.97 MB / 493 MB, free: 87.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.1, allocations: 0 / 493 MB, free: 87.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.642e-05/1.1, allocations: 44.16 kB / 493 MB, free: 87.3 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.006999/1.107, allocations: 2.307 MB / 495.3 MB, free: 84.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.107, allocations: 8.031 kB / 495.4 MB, free: 84.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/1.119, allocations: 1.771 MB / 497.1 MB, free: 83.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/1.124, allocations: 1.348 MB / 498.5 MB, free: 81.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/1.125, allocations: 80 kB / 498.6 MB, free: 81.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/1.127, allocations: 140 kB / 498.7 MB, free: 81.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01232/1.139, allocations: 3.718 MB / 0.4906 GB, free: 77.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.152, allocations: 6.059 MB / 0.4965 GB, free: 71.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.152, allocations: 47.52 kB / 0.4966 GB, free: 70.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000476/1.153, allocations: 24 kB / 0.4966 GB, free: 70.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/1.154, allocations: 0.6955 MB / 0.4973 GB, free: 70.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/1.189, allocations: 30.37 MB / 0.527 GB, free: 39.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/1.192, allocations: 2.002 MB / 0.5289 GB, free: 36.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/1.194, allocations: 0.945 MB / 0.5298 GB, free: 35.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/1.194, allocations: 43.42 kB / 0.5299 GB, free: 35.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.194, allocations: 47.16 kB / 0.5299 GB, free: 35.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.741e-06/1.194, allocations: 0 / 0.5299 GB, free: 35.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.02668/1.221, allocations: 8.401 MB / 0.5381 GB, free: 27.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/1.221, allocations: 137.1 kB / 0.5383 GB, free: 27.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/1.225, allocations: 1.998 MB / 0.5402 GB, free: 25.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/1.225, allocations: 29.7 kB / 0.5402 GB, free: 25.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.227, allocations: 2.111 MB / 0.5423 GB, free: 22.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006139/1.227, allocations: 462.1 kB / 0.5427 GB, free: 22.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/1.228, allocations: 0 / 0.5427 GB, free: 22.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/1.228, allocations: 0.5087 MB / 0.5432 GB, free: 21.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/1.231, allocations: 1.305 MB / 0.5445 GB, free: 20.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/1.236, allocations: 4.176 MB / 0.5486 GB, free: 15.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/1.241, allocations: 2.347 MB / 0.5509 GB, free: 12.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-05/1.241, allocations: 28 kB / 0.5509 GB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.0136/1.255, allocations: 5.045 MB / 0.5558 GB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/1.255, allocations: 55.94 kB / 0.5559 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.255, allocations: 100 kB / 0.556 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/1.257, allocations: 477.4 kB / 0.5564 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006261/1.263, allocations: 1.057 MB / 0.5575 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/1.268, allocations: 3.153 MB / 0.5605 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/1.272, allocations: 155.5 kB / 0.5607 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009504/1.273, allocations: 291.2 kB / 0.561 GB, free: 2.223 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (560): * Single equations (assignments): 556 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007752/1.274, allocations: 349.4 kB / 0.5613 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004607/1.279, allocations: 1.851 MB / 0.5631 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006935/1.28, allocations: 209.3 kB / 0.5633 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/1.284, allocations: 1.413 MB / 0.5647 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/1.284, allocations: 12 kB / 0.5647 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.284, allocations: 4 kB / 0.5647 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/1.284, allocations: 3.984 kB / 0.5647 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/1.297, allocations: 3.993 MB / 0.5686 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.297, allocations: 4 kB / 0.5686 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.299, allocations: 171.7 kB / 0.5688 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.301, allocations: 304.6 kB / 0.5691 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.301, allocations: 4 kB / 0.5691 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/1.306, allocations: 2.625 MB / 0.5716 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/1.306, allocations: 3.984 kB / 0.5716 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009019/1.315, allocations: 3.253 MB / 0.5748 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.316, allocations: 410.2 kB / 0.5752 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/1.317, allocations: 4 kB / 0.5752 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.318, allocations: 31.94 kB / 0.5752 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.318, allocations: 63.83 kB / 0.5753 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.319, allocations: 32.38 kB / 0.5753 GB, free: 3.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003429/1.322, allocations: 1.298 MB / 0.5766 GB, free: 1.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.322, allocations: 4 kB / 0.5766 GB, free: 1.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005129/1.327, allocations: 0.5157 MB / 0.5771 GB, free: 1.418 MB / 410.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 (88): * Single equations (assignments): 84 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00828/1.336, allocations: 4.039 MB / 0.581 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008035/1.344, allocations: 3.143 MB / 0.5841 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.344, allocations: 4 kB / 0.5841 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/1.346, allocations: 0.9075 MB / 0.585 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/1.347, allocations: 143.2 kB / 0.5851 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.367, allocations: 5.552 MB / 0.5906 GB, free: 3.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004198/1.371, allocations: 2.247 MB / 0.5928 GB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/1.374, allocations: 1.069 MB / 0.5938 GB, free: 152 kB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/1.374, allocations: 0 / 0.5938 GB, free: 152 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.878/5.252, allocations: 58.41 MB / 0.6509 GB, free: 130.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat