Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.2 MB / 186.1 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007289/0.000729, allocations: 15.98 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1172, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4935, allocations: 79.06 MB / 351.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.4939, allocations: 89.52 kB / 351.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2566/0.7505, allocations: 56.76 MB / 408 MB, free: 7.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.7505, allocations: 0 / 408 MB, free: 7.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001417/0.7507, allocations: 51.88 kB / 408.1 MB, free: 7.066 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.01064/0.7613, allocations: 2.649 MB / 410.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.7614, allocations: 12.03 kB / 410.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002071/0.7635, allocations: 485.8 kB / 411.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.7794, allocations: 1.966 MB / 413.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.7926, allocations: 3.283 MB / 416.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.7929, allocations: 180.6 kB / 416.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.7945, allocations: 239.8 kB / 416.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.8139, allocations: 6.8 MB / 423.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.8141, allocations: 43.62 kB / 423.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.8152, allocations: 119.9 kB / 423.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/0.8171, allocations: 0.715 MB / 424.6 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2538/1.071, allocations: 5.824 MB / 430.4 MB, free: 81.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/1.118, allocations: 33.29 MB / 463.7 MB, free: 59.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/1.125, allocations: 2.288 MB / 466 MB, free: 58.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/1.125, allocations: 15.78 kB / 466 MB, free: 58.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.125, allocations: 38.12 kB / 466 MB, free: 58.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 5.25e-06/1.125, allocations: 0 / 466 MB, free: 58.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.03263/1.158, allocations: 8.732 MB / 474.7 MB, free: 56.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/1.158, allocations: 136.3 kB / 474.9 MB, free: 56.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/1.164, allocations: 2.531 MB / 477.4 MB, free: 55.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/1.164, allocations: 40.27 kB / 477.4 MB, free: 55.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.166, allocations: 2.072 MB / 479.5 MB, free: 54.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000643/1.166, allocations: 430.3 kB / 479.9 MB, free: 54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.167, allocations: 91 kB / 480 MB, free: 53.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002685/1.167, allocations: 493 kB / 480.5 MB, free: 53.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/1.171, allocations: 1.413 MB / 481.9 MB, free: 53.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.176, allocations: 4.189 MB / 486.1 MB, free: 48.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/1.181, allocations: 2.394 MB / 488.5 MB, free: 48.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.325e-05/1.182, allocations: 26.75 kB / 488.5 MB, free: 48.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01755/1.199, allocations: 6.065 MB / 494.6 MB, free: 46.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/1.199, allocations: 51.84 kB / 494.6 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/1.2, allocations: 99.12 kB / 494.7 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/1.204, allocations: 0.8026 MB / 495.5 MB, free: 46.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005762/1.209, allocations: 0.9865 MB / 496.5 MB, free: 45.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008423/1.218, allocations: 4.214 MB / 0.489 GB, free: 43.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005199/1.223, allocations: 281.2 kB / 0.4893 GB, free: 43.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008924/1.224, allocations: 274.6 kB / 0.4895 GB, free: 43.61 MB / 346.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.003337/1.227, allocations: 1.363 MB / 0.4909 GB, free: 42.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/1.228, allocations: 238.2 kB / 0.4911 GB, free: 42.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/1.234, allocations: 1.849 MB / 0.4929 GB, free: 42.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.563e-05/1.234, allocations: 12.31 kB / 0.4929 GB, free: 42.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.234, allocations: 3.625 kB / 0.4929 GB, free: 42.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/1.234, allocations: 3.938 kB / 0.4929 GB, free: 42.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.249, allocations: 4.809 MB / 0.4976 GB, free: 40.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.249, allocations: 0 / 0.4976 GB, free: 40.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.25, allocations: 136.4 kB / 0.4978 GB, free: 40.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/1.254, allocations: 0.6369 MB / 0.4984 GB, free: 40.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.254, allocations: 23.89 kB / 0.4984 GB, free: 40.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/1.261, allocations: 3.738 MB / 0.502 GB, free: 36.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.261, allocations: 4.031 kB / 0.5021 GB, free: 36.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008839/1.27, allocations: 3.777 MB / 0.5057 GB, free: 33.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.272, allocations: 443.4 kB / 0.5062 GB, free: 33.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/1.272, allocations: 17.88 kB / 0.5062 GB, free: 33.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.274, allocations: 70.08 kB / 0.5062 GB, free: 33.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/1.274, allocations: 59.36 kB / 0.5063 GB, free: 33.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.274, allocations: 28 kB / 0.5063 GB, free: 33.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004174/1.278, allocations: 1.765 MB / 0.5081 GB, free: 31.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.278, allocations: 7.938 kB / 0.5081 GB, free: 31.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005046/1.284, allocations: 0.6482 MB / 0.5087 GB, free: 30.91 MB / 346.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.009985/1.294, allocations: 4.707 MB / 0.5133 GB, free: 26.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008028/1.302, allocations: 3.396 MB / 0.5166 GB, free: 23.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.302, allocations: 0 / 0.5166 GB, free: 23.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.304, allocations: 0.9396 MB / 0.5175 GB, free: 22.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.306, allocations: 234.9 kB / 0.5178 GB, free: 22.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.338/1.644, allocations: 89.3 MB / 0.605 GB, free: 48.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.647, allocations: 2.229 MB / 0.6071 GB, free: 48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005655/1.653, allocations: 1.394 MB / 0.6085 GB, free: 47.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.655, allocations: 1.048 MB / 0.6095 GB, free: 47.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.454e-06/1.655, allocations: 0 / 0.6095 GB, free: 47.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.77, allocations: 48.55 MB / 0.6569 GB, free: 25.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.77, allocations: 205.8 kB / 0.6571 GB, free: 25.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.595/6.365, allocations: 0 / 0.6571 GB, free: 25.24 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat