Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09586, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.5589, allocations: 84.81 MB / 393.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5592, allocations: 93.64 kB / 393.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2538/0.8131, allocations: 56.73 MB / 450.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8131, allocations: 0 / 450.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.8133, allocations: 47.94 kB / 450.2 MB, free: 2.273 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.01042/0.8237, allocations: 2.659 MB / 452.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.8238, allocations: 8.031 kB / 452.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001841/0.8256, allocations: 488.6 kB / 453.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.8415, allocations: 1.961 MB / 455.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.8548, allocations: 3.292 MB / 458.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.8551, allocations: 173.8 kB / 458.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.8564, allocations: 236.8 kB / 459 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.876, allocations: 6.799 MB / 465.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.8763, allocations: 39.62 kB / 465.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009267/0.8772, allocations: 125.8 kB / 466 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/0.879, allocations: 0.7104 MB / 466.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.8981, allocations: 5.836 MB / 472.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05158/0.9498, allocations: 33.3 MB / 0.494 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007672/0.9575, allocations: 2.289 MB / 0.4962 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.9577, allocations: 16.56 kB / 0.4962 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.9577, allocations: 42.56 kB / 0.4963 GB, free: 7.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 4.9e-06/0.9577, allocations: 3.938 kB / 0.4963 GB, free: 7.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.03528/0.993, allocations: 8.724 MB / 0.5048 GB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.9932, allocations: 144.5 kB / 0.5049 GB, free: 14.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/0.9993, allocations: 2.525 MB / 0.5074 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.9997, allocations: 41.7 kB / 0.5074 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.002, allocations: 2.052 MB / 0.5094 GB, free: 9.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008005/1.003, allocations: 441.1 kB / 0.5098 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/1.003, allocations: 88 kB / 0.5099 GB, free: 9.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004064/1.004, allocations: 0.4925 MB / 0.5104 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004112/1.008, allocations: 1.406 MB / 0.5118 GB, free: 7.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007556/1.015, allocations: 4.194 MB / 0.5159 GB, free: 1.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2757/1.291, allocations: 2.385 MB / 0.5182 GB, free: 109.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/1.291, allocations: 32.39 kB / 0.5182 GB, free: 109.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01957/1.311, allocations: 5.994 MB / 0.5241 GB, free: 109.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.311, allocations: 47.41 kB / 0.5241 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/1.311, allocations: 99.16 kB / 0.5242 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/1.316, allocations: 0.8037 MB / 0.525 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006094/1.322, allocations: 0.9995 MB / 0.526 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008995/1.331, allocations: 4.189 MB / 0.5301 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/1.336, allocations: 288.5 kB / 0.5304 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.337, allocations: 271.5 kB / 0.5306 GB, free: 107.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],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 (528): * Single equations (assignments): 524 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003852/1.341, allocations: 1.372 MB / 0.532 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/1.342, allocations: 232.5 kB / 0.5322 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/1.348, allocations: 1.849 MB / 0.534 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/1.348, allocations: 11.78 kB / 0.534 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.348, allocations: 3.906 kB / 0.534 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.348, allocations: 3.422 kB / 0.534 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.363, allocations: 4.791 MB / 0.5387 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.363, allocations: 0 / 0.5387 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.364, allocations: 139.4 kB / 0.5388 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/1.368, allocations: 0.6414 MB / 0.5394 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/1.368, allocations: 21.53 kB / 0.5395 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/1.375, allocations: 3.739 MB / 0.5431 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.375, allocations: 3.938 kB / 0.5431 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/1.384, allocations: 3.779 MB / 0.5468 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.386, allocations: 441.3 kB / 0.5472 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.386, allocations: 13.31 kB / 0.5472 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.388, allocations: 74 kB / 0.5473 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.388, allocations: 60.36 kB / 0.5474 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.388, allocations: 27.56 kB / 0.5474 GB, free: 104.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003991/1.392, allocations: 1.773 MB / 0.5491 GB, free: 104.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.392, allocations: 0 / 0.5491 GB, free: 104.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004875/1.397, allocations: 0.6449 MB / 0.5498 GB, free: 104 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (75): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.00937/1.407, allocations: 4.716 MB / 0.5544 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007797/1.414, allocations: 3.4 MB / 0.5577 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.414, allocations: 0 / 0.5577 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.416, allocations: 0.9291 MB / 0.5586 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.418, allocations: 236.5 kB / 0.5588 GB, free: 99.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06362/1.482, allocations: 89.59 MB / 0.6463 GB, free: 32.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/1.485, allocations: 2.245 MB / 0.6485 GB, free: 31.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.488, allocations: 1.081 MB / 0.6496 GB, free: 30.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/1.488, allocations: 0 / 0.6496 GB, free: 30.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.108/5.596, allocations: 60.86 MB / 0.709 GB, free: 124.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat