Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_PointMass",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.01375/0.01375, allocations: 157.4 kB / 15.12 MB, free: 6.031 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.832/1.832, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002004/0.002004, 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.4786/0.4786, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02375/0.1397, allocations: 14.85 MB / 426.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1503, allocations: 3.535 MB / 430.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.153, allocations: 67.81 kB / 430.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.1556, allocations: 0.6844 MB / 430.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2858/0.4415, allocations: 2.28 MB / 433.1 MB, free: 30.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.443, allocations: 237.8 kB / 433.3 MB, free: 30.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.4477, allocations: 2.164 MB / 435.5 MB, free: 30.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003589/0.4513, allocations: 1.497 MB / 437 MB, free: 30.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.4532, allocations: 0.6393 MB / 437.6 MB, free: 30.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.4558, allocations: 0.9753 MB / 438.6 MB, free: 30.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.4564, allocations: 79.64 kB / 438.7 MB, free: 30.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4584, allocations: 0.6336 MB / 439.3 MB, free: 30.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.4599, allocations: 0.8593 MB / 440.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007774/0.4607, allocations: 478.5 kB / 440.7 MB, free: 30.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.4653, allocations: 2.802 MB / 443.5 MB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4654, allocations: 0 / 443.5 MB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4654, allocations: 0 / 443.5 MB, free: 30.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001316/0.4655, allocations: 0 / 443.5 MB, free: 30.31 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.00655/0.4721, allocations: 2.241 MB / 445.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4721, allocations: 9.438 kB / 445.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001311/0.4735, allocations: 454.2 kB / 446.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009662/0.4832, allocations: 1.608 MB / 447.8 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.4866, allocations: 1.051 MB / 448.8 MB, free: 28.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.4868, allocations: 118.3 kB / 448.9 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006724/0.4875, allocations: 155.3 kB / 449.1 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.5007, allocations: 6.18 MB / 455.3 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-05/0.5008, allocations: 30.38 kB / 455.3 MB, free: 27.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.5012, allocations: 80.92 kB / 455.4 MB, free: 27.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/0.5047, allocations: 1.384 MB / 456.7 MB, free: 26.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.5207, allocations: 5.361 MB / 462.1 MB, free: 26.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/0.5592, allocations: 24.62 MB / 486.7 MB, free: 24.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007269/0.5666, allocations: 2.34 MB / 489.1 MB, free: 23.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.5686, allocations: 0.9858 MB / 490.1 MB, free: 22.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/0.5692, allocations: 331.7 kB / 490.4 MB, free: 22.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.5692, allocations: 46.66 kB / 490.4 MB, free: 22.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.797e-06/0.5692, allocations: 1.438 kB / 490.4 MB, free: 22.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.03702/0.6063, allocations: 8.449 MB / 498.9 MB, free: 16.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.6064, allocations: 149.4 kB / 499 MB, free: 16.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/0.6116, allocations: 2.605 MB / 0.4899 GB, free: 14.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.612, allocations: 40.67 kB / 0.4899 GB, free: 14.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.6144, allocations: 2.01 MB / 0.4919 GB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.6153, allocations: 437.6 kB / 0.4923 GB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/0.6158, allocations: 80 kB / 0.4924 GB, free: 11.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004389/0.6163, allocations: 0.489 MB / 0.4928 GB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.6202, allocations: 1.312 MB / 0.4941 GB, free: 9.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/0.6274, allocations: 4.064 MB / 0.4981 GB, free: 4.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006087/0.6335, allocations: 2.299 MB / 0.5003 GB, free: 2.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-05/0.6337, allocations: 28 kB / 0.5004 GB, free: 1.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01691/0.6506, allocations: 5.423 MB / 0.5057 GB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.6508, allocations: 48 kB / 0.5057 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/0.651, allocations: 100 kB / 0.5058 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.653, allocations: 473.2 kB / 0.5063 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/0.659, allocations: 0.9685 MB / 0.5072 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00669/0.6658, allocations: 3.389 MB / 0.5105 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/0.67, allocations: 227.5 kB / 0.5107 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009307/0.671, allocations: 268 kB / 0.511 GB, free: 6.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (524): * Single equations (assignments): 520 * 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 prepare postOptimizeDAE: time 0.003922/0.6749, allocations: 1.367 MB / 0.5123 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/0.6756, allocations: 217.2 kB / 0.5125 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.6797, allocations: 1.321 MB / 0.5138 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.6798, allocations: 12 kB / 0.5138 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6798, allocations: 4 kB / 0.5138 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.6799, allocations: 3.984 kB / 0.5138 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.6934, allocations: 4.235 MB / 0.518 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.6934, allocations: 4 kB / 0.518 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.6947, allocations: 139.8 kB / 0.5181 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.6964, allocations: 313 kB / 0.5184 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.6965, allocations: 23.98 kB / 0.5184 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.7019, allocations: 2.821 MB / 0.5212 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.702, allocations: 11.88 kB / 0.5212 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007481/0.7095, allocations: 3.05 MB / 0.5242 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.711, allocations: 422.1 kB / 0.5246 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.7115, allocations: 15.98 kB / 0.5246 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.7129, allocations: 49.97 kB / 0.5246 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.7131, allocations: 52.33 kB / 0.5247 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7133, allocations: 31.98 kB / 0.5247 GB, free: 8.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004235/0.7175, allocations: 1.597 MB / 0.5263 GB, free: 7.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.7176, allocations: 0 / 0.5263 GB, free: 7.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004689/0.7223, allocations: 0.5919 MB / 0.5269 GB, free: 6.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008083/0.7304, allocations: 3.669 MB / 0.5304 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008264/0.7387, allocations: 3.183 MB / 0.5335 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.7388, allocations: 0 / 0.5335 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.7409, allocations: 0.8681 MB / 0.5344 GB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.743, allocations: 193.5 kB / 0.5346 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05373/0.7968, allocations: 19.64 MB / 0.5538 GB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004404/0.8012, allocations: 2.213 MB / 0.5559 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006418/0.8077, allocations: 1.383 MB / 0.5573 GB, free: 4.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/0.8105, allocations: 1.011 MB / 0.5583 GB, free: 3.832 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8105, allocations: 1.641 kB / 0.5583 GB, free: 3.832 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/1.208, allocations: 44.94 MB / 0.6021 GB, free: 125.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/1.208, allocations: 199.7 kB / 0.6023 GB, free: 125.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.224/5.433, allocations: 1.156 kB / 0.6023 GB, free: 125.2 MB / 426.7 MB