Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 211.1 MB, free: 7.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003458, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3125, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01955/0.3322, allocations: 11.49 MB / 320 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.3433, allocations: 3.98 MB / 324 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.3453, allocations: 51.88 kB / 324.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.3472, allocations: 0.5249 MB / 324.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.3543, allocations: 1.847 MB / 326.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.356, allocations: 407.3 kB / 326.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.3599, allocations: 1.47 MB / 328.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.3628, allocations: 1.313 MB / 329.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.364, allocations: 0.5956 MB / 330.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.3658, allocations: 0.841 MB / 331.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.3663, allocations: 80 kB / 331.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.3684, allocations: 0.7606 MB / 331.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.3698, allocations: 0.8689 MB / 332.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000699/0.3705, allocations: 492.1 kB / 333.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.3758, allocations: 2.967 MB / 336.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3758, allocations: 3.938 kB / 336.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.26e-06/0.3758, allocations: 3.984 kB / 336.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3759, allocations: 0 / 336.2 MB, free: 0.8672 MB / 266.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.00809/0.384, allocations: 2.525 MB / 338.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3841, allocations: 8.031 kB / 338.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.3853, allocations: 457.7 kB / 339.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.398, allocations: 1.978 MB / 341.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.4024, allocations: 1.527 MB / 342.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.4026, allocations: 130.8 kB / 342.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006813/0.4033, allocations: 151.8 kB / 343 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4186, allocations: 6.401 MB / 349.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4188, allocations: 31.75 kB / 349.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.4192, allocations: 79.84 kB / 349.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/0.4231, allocations: 1.374 MB / 350.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.4401, allocations: 5.693 MB / 356.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04609/0.4862, allocations: 26.23 MB / 382.8 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007485/0.4937, allocations: 2.254 MB / 385.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.4939, allocations: 19.97 kB / 385.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.4939, allocations: 46.5 kB / 385.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 4.548e-06/0.494, allocations: 0 / 385.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.037/0.531, allocations: 8.851 MB / 394 MB, free: 5.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5311, allocations: 152.4 kB / 394.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006137/0.5373, allocations: 2.901 MB / 397 MB, free: 2.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/0.5376, allocations: 41.7 kB / 397.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.5399, allocations: 2.067 MB / 399.1 MB, free: 36 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007604/0.5407, allocations: 438.8 kB / 399.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.5411, allocations: 80 kB / 399.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004085/0.5415, allocations: 0.4918 MB / 400.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003833/0.5453, allocations: 1.386 MB / 401.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006666/0.552, allocations: 4.184 MB / 405.7 MB, free: 8.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.5583, allocations: 2.359 MB / 408.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.189e-05/0.5584, allocations: 28 kB / 408.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.2717/0.8302, allocations: 6.025 MB / 414.1 MB, free: 86.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.8303, allocations: 49 kB / 414.2 MB, free: 86.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/0.8306, allocations: 100.1 kB / 414.3 MB, free: 86.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.8351, allocations: 0.8128 MB / 415.1 MB, free: 86.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005754/0.8409, allocations: 0.9833 MB / 416.1 MB, free: 86.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.8492, allocations: 4.231 MB / 420.3 MB, free: 85.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/0.8535, allocations: 250.5 kB / 420.5 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006434/0.8542, allocations: 274.2 kB / 420.8 MB, free: 85.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 456 * 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 (530): * Single equations (assignments): 526 * 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.002667/0.8569, allocations: 1.366 MB / 422.2 MB, free: 84.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/0.8574, allocations: 234.2 kB / 422.4 MB, free: 84.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/0.8634, allocations: 1.857 MB / 424.2 MB, free: 84.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/0.8635, allocations: 11.78 kB / 424.3 MB, free: 84.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8635, allocations: 3.906 kB / 424.3 MB, free: 84.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.8635, allocations: 6.359 kB / 424.3 MB, free: 84.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.8763, allocations: 4.792 MB / 429.1 MB, free: 82.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.8764, allocations: 0.5469 kB / 429.1 MB, free: 82.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.8776, allocations: 135.6 kB / 429.2 MB, free: 82.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.8811, allocations: 0.6503 MB / 429.8 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.8812, allocations: 15.52 kB / 429.9 MB, free: 82.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/0.8883, allocations: 3.797 MB / 433.7 MB, free: 78.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.8884, allocations: 3.938 kB / 433.7 MB, free: 78.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.8971, allocations: 3.678 MB / 437.3 MB, free: 75.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.8984, allocations: 444.3 kB / 437.8 MB, free: 74.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.8988, allocations: 19.94 kB / 437.8 MB, free: 74.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.9003, allocations: 65.31 kB / 437.9 MB, free: 74.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.9006, allocations: 55.88 kB / 437.9 MB, free: 74.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.9007, allocations: 28 kB / 437.9 MB, free: 74.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003431/0.9042, allocations: 1.832 MB / 439.8 MB, free: 72.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.9042, allocations: 0 / 439.8 MB, free: 72.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004303/0.9085, allocations: 0.6563 MB / 440.4 MB, free: 72.05 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.009184/0.9178, allocations: 4.32 MB / 444.7 MB, free: 67.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007383/0.9252, allocations: 3.375 MB / 448.1 MB, free: 64.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.9252, allocations: 0 / 448.1 MB, free: 64.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.9271, allocations: 0.9233 MB / 449 MB, free: 63.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.929, allocations: 229.3 kB / 449.3 MB, free: 63.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05069/0.9797, allocations: 22 MB / 471.3 MB, free: 38.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/0.9825, allocations: 2.227 MB / 473.5 MB, free: 36.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005224/0.9878, allocations: 1.392 MB / 474.9 MB, free: 35.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/0.9898, allocations: 1.051 MB / 475.9 MB, free: 34.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9898, allocations: 0 / 475.9 MB, free: 34.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.106, allocations: 48.99 MB / 0.5126 GB, free: 1.133 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/1.107, allocations: 210.3 kB / 0.5128 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.325, allocations: 7.938 kB / 0.5128 GB, free: 0.8789 MB / 362.7 MB