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.ThreeSprings.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.ThreeSprings,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003648, allocations: 12 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.05448/0.3728, allocations: 34.3 MB / 342.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.3967, allocations: 8.561 MB / 351.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006955/0.4037, allocations: 167.6 kB / 351.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006249/0.41, allocations: 1.726 MB / 353.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03027/0.4403, allocations: 4.956 MB / 358.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.4451, allocations: 0.5382 MB / 358.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008119/0.4533, allocations: 2.142 MB / 361 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.4666, allocations: 4.115 MB / 365.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4698, allocations: 0.9616 MB / 366 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.4739, allocations: 1.23 MB / 367.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009282/0.4749, allocations: 136 kB / 367.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.479, allocations: 0.8738 MB / 368.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.4823, allocations: 1.414 MB / 369.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.484, allocations: 0.7766 MB / 370.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.4964, allocations: 5.001 MB / 375.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.4965, allocations: 0 / 375.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.097e-06/0.4965, allocations: 7.938 kB / 375.5 MB, free: 9.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000232/0.4968, allocations: 0 / 375.5 MB, free: 9.496 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01725/0.5141, allocations: 3.706 MB / 379.2 MB, free: 5.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.5141, allocations: 12.03 kB / 379.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002192/0.5163, allocations: 0.6909 MB / 379.9 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.5304, allocations: 2.214 MB / 382.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006559/0.537, allocations: 2.146 MB / 384.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.5374, allocations: 237.9 kB / 384.5 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/0.5393, allocations: 371.8 kB / 384.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.5673, allocations: 9.792 MB / 394.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.5675, allocations: 47.53 kB / 394.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007692/0.5683, allocations: 151.8 kB / 394.8 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004814/0.5731, allocations: 1.809 MB / 396.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/0.6004, allocations: 8.112 MB / 404.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3268/0.9272, allocations: 38.6 MB / 443.3 MB, free: 65.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.9428, allocations: 3.606 MB / 446.9 MB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/0.9586, allocations: 6.561 MB / 453.5 MB, free: 59.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.9587, allocations: 53.75 kB / 453.6 MB, free: 59.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.661e-06/0.9587, allocations: 0 / 453.6 MB, free: 59.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.04957/1.008, allocations: 12.06 MB / 465.6 MB, free: 47.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0014/1.01, allocations: 1.592 MB / 467.2 MB, free: 45.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007228/1.017, allocations: 3.889 MB / 471.1 MB, free: 41.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/1.017, allocations: 47.03 kB / 471.1 MB, free: 41.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/1.02, allocations: 3.069 MB / 474.2 MB, free: 38.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008812/1.021, allocations: 0.5834 MB / 474.8 MB, free: 38.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/1.021, allocations: 116 kB / 474.9 MB, free: 38.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003498/1.022, allocations: 0.5582 MB / 475.5 MB, free: 37.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004931/1.027, allocations: 1.999 MB / 477.5 MB, free: 35.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007169/1.034, allocations: 5.882 MB / 483.3 MB, free: 27.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/1.041, allocations: 3.334 MB / 486.7 MB, free: 24.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.041, allocations: 40 kB / 486.7 MB, free: 24.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03609/1.077, allocations: 9.687 MB / 496.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/1.078, allocations: 64 kB / 496.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02056/1.098, allocations: 3.777 MB / 0.4885 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02228/1.12, allocations: 2.757 MB / 0.4912 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007194/1.128, allocations: 1.329 MB / 0.4925 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.144, allocations: 7.553 MB / 0.4999 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/1.15, allocations: 392.7 kB / 0.5003 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.151, allocations: 385 kB / 0.5006 GB, free: 14.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (717): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.00498/1.156, allocations: 1.979 MB / 0.5026 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/1.157, allocations: 319.8 kB / 0.5029 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.17, allocations: 3.062 MB / 0.5059 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01129/1.181, allocations: 2.615 MB / 0.5084 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.181, allocations: 7.938 kB / 0.5084 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/1.181, allocations: 3.984 kB / 0.5084 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.191, allocations: 3.561 MB / 0.5119 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.191, allocations: 0 / 0.5119 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.193, allocations: 163.8 kB / 0.5121 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009293/1.203, allocations: 1.498 MB / 0.5135 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/1.203, allocations: 35.94 kB / 0.5136 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.214, allocations: 5.852 MB / 0.5193 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001532/1.216, allocations: 1.467 MB / 0.5207 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/1.232, allocations: 5.165 MB / 0.5257 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.234, allocations: 380.7 kB / 0.5261 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007645/1.234, allocations: 27.95 kB / 0.5261 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.237, allocations: 123.7 kB / 0.5263 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/1.238, allocations: 84.8 kB / 0.5263 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.238, allocations: 39.98 kB / 0.5264 GB, free: 3.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006238/1.244, allocations: 2.407 MB / 0.5287 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.244, allocations: 0 / 0.5287 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007147/1.251, allocations: 1.009 MB / 0.5297 GB, free: 15.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01749/1.269, allocations: 5.623 MB / 0.5352 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02315/1.292, allocations: 5.349 MB / 0.5404 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.292, allocations: 0 / 0.5404 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007907/1.3, allocations: 1.963 MB / 0.5423 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.303, allocations: 357.2 kB / 0.5427 GB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3737/1.677, allocations: 34.71 MB / 0.5766 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004903/1.682, allocations: 3.12 MB / 0.5796 GB, free: 128 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007133/1.689, allocations: 1.777 MB / 0.5814 GB, free: 126.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/1.692, allocations: 1.701 MB / 0.583 GB, free: 124.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.692, allocations: 0 / 0.583 GB, free: 124.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.852, allocations: 75.18 MB / 0.6564 GB, free: 49.78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.853, allocations: 230.4 kB / 0.6567 GB, free: 49.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/7.092, allocations: 0 / 0.6567 GB, free: 49.53 MB / 410.7 MB