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.InitSpringConstant.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.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.8 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 8 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2915, allocations: 44.52 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04495/0.3365, allocations: 28.32 MB / 336.9 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.3564, allocations: 7.415 MB / 344.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.3615, allocations: 139.6 kB / 344.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005027/0.3666, allocations: 1.396 MB / 345.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.3827, allocations: 4.138 MB / 350 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.3858, allocations: 499.2 kB / 350.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00535/0.3912, allocations: 1.918 MB / 352.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007678/0.399, allocations: 2.916 MB / 355.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.4012, allocations: 0.8525 MB / 356.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.4041, allocations: 1.125 MB / 357.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006496/0.4048, allocations: 112 kB / 357.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.4078, allocations: 0.8192 MB / 358.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002598/0.4104, allocations: 1.274 MB / 359.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.4118, allocations: 0.6909 MB / 360.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.4213, allocations: 4.42 MB / 364.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4214, allocations: 0 / 364.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4214, allocations: 0 / 364.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.4216, allocations: 3.938 kB / 364.6 MB, free: 4.531 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01375/0.4353, allocations: 3.412 MB / 368 MB, free: 1.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4354, allocations: 8.031 kB / 368 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002201/0.4376, allocations: 0.5958 MB / 368.6 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/0.4555, allocations: 2.109 MB / 370.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008317/0.4638, allocations: 2.131 MB / 372.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.4642, allocations: 184.7 kB / 373 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.4658, allocations: 247.8 kB / 373.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.4902, allocations: 8.377 MB / 381.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.4904, allocations: 39.59 kB / 381.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007499/0.4912, allocations: 127.9 kB / 381.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004432/0.4957, allocations: 1.625 MB / 383.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02257/0.5183, allocations: 7.043 MB / 390.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3396/0.8579, allocations: 33.85 MB / 424.3 MB, free: 70.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.8693, allocations: 3.16 MB / 427.5 MB, free: 69.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009145/0.8785, allocations: 4.05 MB / 431.5 MB, free: 67.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.8786, allocations: 56.94 kB / 431.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.541e-06/0.8786, allocations: 0 / 431.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.0449/0.9235, allocations: 11.59 MB / 443.2 MB, free: 60.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.9236, allocations: 141.1 kB / 443.3 MB, free: 60.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/0.9307, allocations: 3.818 MB / 447.1 MB, free: 56.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002955/0.9311, allocations: 43.67 kB / 447.2 MB, free: 56.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.933, allocations: 2.731 MB / 449.9 MB, free: 54.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.9337, allocations: 0.5001 MB / 450.4 MB, free: 53.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.9341, allocations: 107.4 kB / 450.5 MB, free: 53.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.9344, allocations: 0.5212 MB / 451 MB, free: 52.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.9381, allocations: 1.669 MB / 452.7 MB, free: 51.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/0.9433, allocations: 5.047 MB / 457.8 MB, free: 44.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/0.9492, allocations: 2.846 MB / 460.6 MB, free: 41.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-05/0.9493, allocations: 32 kB / 460.6 MB, free: 41.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01519/0.9645, allocations: 6.619 MB / 467.2 MB, free: 35.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.9646, allocations: 56.94 kB / 467.3 MB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/0.9647, allocations: 124 kB / 467.4 MB, free: 35.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/0.9656, allocations: 344.7 kB / 467.8 MB, free: 34.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006685/0.9723, allocations: 1.22 MB / 469 MB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.9757, allocations: 2.363 MB / 471.3 MB, free: 31.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/0.9808, allocations: 287.6 kB / 471.6 MB, free: 30.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008392/0.9817, allocations: 328 kB / 471.9 MB, free: 30.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 (654): * Single equations (assignments): 650 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00368/0.9854, allocations: 1.773 MB / 473.7 MB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.9861, allocations: 304 kB / 474 MB, free: 28.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/0.9933, allocations: 2.344 MB / 476.4 MB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.12e-05/0.9934, allocations: 12 kB / 476.4 MB, free: 26.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.9935, allocations: 4 kB / 476.4 MB, free: 26.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.9935, allocations: 7.984 kB / 476.4 MB, free: 26.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.01, allocations: 5.846 MB / 482.2 MB, free: 20.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.01, allocations: 3.953 kB / 482.2 MB, free: 20.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.011, allocations: 167.7 kB / 482.4 MB, free: 20 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/1.015, allocations: 0.7108 MB / 483.1 MB, free: 19.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002437/1.015, allocations: 20.22 kB / 483.1 MB, free: 19.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008715/1.024, allocations: 4.588 MB / 487.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.024, allocations: 0 / 487.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.035, allocations: 4.276 MB / 492 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.036, allocations: 0.5282 MB / 492.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/1.037, allocations: 24 kB / 492.5 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.039, allocations: 64.48 kB / 492.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/1.039, allocations: 72.47 kB / 492.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.039, allocations: 33.72 kB / 492.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004928/1.044, allocations: 2.393 MB / 495.1 MB, free: 7.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.044, allocations: 0 / 495.1 MB, free: 7.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005474/1.05, allocations: 0.8266 MB / 495.9 MB, free: 6.309 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 (90): * Single equations (assignments): 86 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/1.061, allocations: 4.927 MB / 0.4891 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009658/1.071, allocations: 3.957 MB / 0.493 GB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.071, allocations: 3.938 kB / 0.493 GB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/1.074, allocations: 1.095 MB / 0.4941 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.077, allocations: 353.1 kB / 0.4944 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/1.111, allocations: 16.51 MB / 0.5105 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005647/1.116, allocations: 2.83 MB / 0.5133 GB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007435/1.124, allocations: 1.636 MB / 0.5149 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003789/1.128, allocations: 1.511 MB / 0.5164 GB, free: 2.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/1.128, allocations: 0 / 0.5164 GB, free: 2.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4116/1.539, allocations: 64.04 MB / 0.5789 GB, free: 152.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/1.54, allocations: 228.1 kB / 0.5791 GB, free: 152 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.787/6.326, allocations: 0 / 0.5791 GB, free: 152 MB / 426.7 MB