Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009563/0.009563, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.649/1.649, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001848/0.001847, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4959/0.4959, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.000493, allocations: 15.94 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.3229/0.4273, allocations: 30.17 MB / 441.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.447, allocations: 7.263 MB / 449.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006823/0.4539, allocations: 137.4 kB / 449.3 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005054/0.459, allocations: 1.423 MB / 450.7 MB, free: 28.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.4757, allocations: 5.149 MB / 455.8 MB, free: 27.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.479, allocations: 0.594 MB / 456.4 MB, free: 27.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02986/0.5089, allocations: 15.19 MB / 471.6 MB, free: 24.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006365/0.5153, allocations: 2.984 MB / 474.6 MB, free: 22.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.5185, allocations: 1.102 MB / 475.7 MB, free: 21.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.5227, allocations: 1.789 MB / 477.5 MB, free: 21.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009477/0.5237, allocations: 124.2 kB / 477.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.5271, allocations: 0.9994 MB / 478.6 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002739/0.5299, allocations: 1.494 MB / 480.1 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.5313, allocations: 0.7176 MB / 480.8 MB, free: 19.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007286/0.5386, allocations: 4.859 MB / 485.7 MB, free: 16.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5387, allocations: 3.938 kB / 485.7 MB, free: 16.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5387, allocations: 4 kB / 485.7 MB, free: 16.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.5389, allocations: 1.094 kB / 485.7 MB, free: 16.11 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: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.0139/0.5528, allocations: 3.672 MB / 489.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5529, allocations: 8.875 kB / 489.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00221/0.5551, allocations: 0.6193 MB / 490 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1665/0.7217, allocations: 7.222 MB / 497.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/0.7305, allocations: 2.804 MB / 0.4883 GB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.7307, allocations: 192.9 kB / 0.4885 GB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.7318, allocations: 268.8 kB / 0.4888 GB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.7537, allocations: 8.517 MB / 0.4971 GB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/0.7539, allocations: 39.59 kB / 0.4971 GB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009717/0.7549, allocations: 135.8 kB / 0.4972 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004882/0.7598, allocations: 1.676 MB / 0.4989 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.7831, allocations: 7.136 MB / 0.5058 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06488/0.848, allocations: 33.85 MB / 0.5389 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/0.8684, allocations: 3.452 MB / 0.5423 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009873/0.8783, allocations: 1.649 MB / 0.5439 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05522/0.9336, allocations: 7.232 MB / 0.5509 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.9337, allocations: 47.5 kB / 0.551 GB, free: 1.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 6.061e-06/0.9337, allocations: 0 / 0.551 GB, free: 1.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=185): time 0.1364/1.07, allocations: 20.71 MB / 0.5712 GB, free: 12.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/1.07, allocations: 201.2 kB / 0.5714 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009833/1.08, allocations: 3.712 MB / 0.575 GB, free: 8.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004661/1.081, allocations: 53.69 kB / 0.5751 GB, free: 8.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.084, allocations: 2.818 MB / 0.5778 GB, free: 5.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.086, allocations: 0.7058 MB / 0.5785 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/1.086, allocations: 116 kB / 0.5786 GB, free: 5.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005182/1.087, allocations: 0.546 MB / 0.5792 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005863/1.093, allocations: 2.1 MB / 0.5812 GB, free: 2.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2837/1.376, allocations: 5.635 MB / 0.5867 GB, free: 123.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008749/1.385, allocations: 3.356 MB / 0.59 GB, free: 123.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/1.386, allocations: 35.22 kB / 0.59 GB, free: 123.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03701/1.423, allocations: 9.239 MB / 0.5991 GB, free: 121.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/1.423, allocations: 61 kB / 0.5991 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002962/1.423, allocations: 123.2 kB / 0.5992 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/1.436, allocations: 1.525 MB / 0.6007 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.447, allocations: 1.285 MB / 0.602 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03764/1.485, allocations: 9.813 MB / 0.6116 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/1.496, allocations: 300.5 kB / 0.6118 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002069/1.498, allocations: 366.3 kB / 0.6122 GB, free: 116.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (690): * Single equations (assignments): 686 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008285/1.506, allocations: 1.89 MB / 0.614 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.508, allocations: 333.1 kB / 0.6144 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02715/1.535, allocations: 4.054 MB / 0.6183 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.382e-05/1.535, allocations: 22.09 kB / 0.6183 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/1.535, allocations: 8.5 kB / 0.6183 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/1.535, allocations: 7.219 kB / 0.6184 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04645/1.582, allocations: 8.402 MB / 0.6266 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/1.582, allocations: 4 kB / 0.6266 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.585, allocations: 247.2 kB / 0.6268 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/1.598, allocations: 1.206 MB / 0.628 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/1.598, allocations: 34.84 kB / 0.628 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02597/1.624, allocations: 8.024 MB / 0.6358 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.624, allocations: 0 / 0.6358 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/1.644, allocations: 6.506 MB / 0.6422 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.646, allocations: 0.6101 MB / 0.6428 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/1.647, allocations: 30.05 kB / 0.6428 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.649, allocations: 91.41 kB / 0.6429 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/1.65, allocations: 112.2 kB / 0.643 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.65, allocations: 55.45 kB / 0.6431 GB, free: 102.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005695/1.656, allocations: 2.31 MB / 0.6453 GB, free: 100 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.113e-06/1.656, allocations: 0 / 0.6453 GB, free: 100 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0104/1.666, allocations: 0.964 MB / 0.6463 GB, free: 99.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03613/1.702, allocations: 7.219 MB / 0.6533 GB, free: 91.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01351/1.716, allocations: 5.201 MB / 0.6584 GB, free: 86.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.716, allocations: 8 kB / 0.6584 GB, free: 86.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.72, allocations: 1.746 MB / 0.6601 GB, free: 84.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/1.724, allocations: 387.2 kB / 0.6605 GB, free: 84.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08623/1.811, allocations: 33.14 MB / 0.6928 GB, free: 47.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004946/1.816, allocations: 3.042 MB / 0.6958 GB, free: 44.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007724/1.824, allocations: 1.799 MB / 0.6976 GB, free: 43.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/1.827, allocations: 1.651 MB / 0.6992 GB, free: 41.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.827, allocations: 0 / 0.6992 GB, free: 41.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4954/2.323, allocations: 74.64 MB / 0.7721 GB, free: 113.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/2.323, allocations: 204.2 kB / 0.7723 GB, free: 112.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.592/7.916, allocations: 0 / 0.7723 GB, free: 112.9 MB / 426.7 MB