Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01459/0.01459, allocations: 176 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.271/2.271, allocations: 194.5 MB / 210.3 MB, free: 8.57 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002008/0.002007, allocations: 116.1 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2591/0.2591, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007295/0.0007298, allocations: 13.3 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1114, allocations: 54.88 MB / 461.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.06041/0.1719, allocations: 30.21 MB / 491.4 MB, free: 5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.1929, allocations: 7.287 MB / 498.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005637/0.1986, allocations: 143.6 kB / 498.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0077/0.2063, allocations: 1.411 MB / 0.4885 GB, free: 12.13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02031/0.2267, allocations: 5.156 MB / 0.4935 GB, free: 6.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.23, allocations: 0.5772 MB / 0.4941 GB, free: 6.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03277/0.2628, allocations: 15.19 MB / 0.5089 GB, free: 7.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00653/0.2694, allocations: 2.988 MB / 0.5118 GB, free: 4.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.272, allocations: 1.109 MB / 0.5129 GB, free: 3.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.2759, allocations: 1.791 MB / 0.5147 GB, free: 1.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006997/0.2766, allocations: 124 kB / 0.5148 GB, free: 1.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.2796, allocations: 0.9948 MB / 0.5158 GB, free: 92 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.282, allocations: 1.484 MB / 0.5172 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.2832, allocations: 0.7298 MB / 0.5179 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008122/0.2913, allocations: 4.867 MB / 0.5227 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.2914, allocations: 7.984 kB / 0.5227 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.2914, allocations: 0 / 0.5227 GB, free: 8.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.2916, allocations: 0 / 0.5227 GB, free: 8.977 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01507/0.3067, allocations: 3.664 MB / 0.5263 GB, free: 5.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.614e-05/0.3068, allocations: 8.031 kB / 0.5263 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003158/0.31, allocations: 0.6246 MB / 0.5269 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5377/0.8478, allocations: 7.207 MB / 0.5339 GB, free: 73.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.8604, allocations: 2.805 MB / 0.5367 GB, free: 73.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.8607, allocations: 193.7 kB / 0.5368 GB, free: 73.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.8622, allocations: 272.7 kB / 0.5371 GB, free: 73.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.8847, allocations: 8.523 MB / 0.5454 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.885, allocations: 47.31 kB / 0.5455 GB, free: 70.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000874/0.8859, allocations: 131.5 kB / 0.5456 GB, free: 69.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00414/0.8901, allocations: 1.676 MB / 0.5472 GB, free: 69.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.9104, allocations: 7.129 MB / 0.5542 GB, free: 64.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05324/0.9637, allocations: 33.88 MB / 0.5873 GB, free: 29.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.9777, allocations: 3.455 MB / 0.5906 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/0.9811, allocations: 1.647 MB / 0.5923 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01899/1, allocations: 7.229 MB / 0.5993 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/1, allocations: 47.5 kB / 0.5994 GB, free: 17.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 5.64e-06/1, allocations: 0 / 0.5994 GB, free: 17.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.1188/1.119, allocations: 20.71 MB / 0.6196 GB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.119, allocations: 205.2 kB / 0.6198 GB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00904/1.128, allocations: 3.712 MB / 0.6234 GB, free: 8.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004694/1.129, allocations: 53.7 kB / 0.6235 GB, free: 8.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/1.132, allocations: 2.81 MB / 0.6262 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.133, allocations: 0.705 MB / 0.6269 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/1.134, allocations: 116 kB / 0.627 GB, free: 4.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004783/1.134, allocations: 0.546 MB / 0.6275 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005997/1.14, allocations: 2.104 MB / 0.6296 GB, free: 1.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009424/1.15, allocations: 5.629 MB / 0.6351 GB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/1.159, allocations: 3.36 MB / 0.6384 GB, free: 7.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.159, allocations: 36 kB / 0.6384 GB, free: 7.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03393/1.193, allocations: 9.253 MB / 0.6474 GB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.193, allocations: 63.95 kB / 0.6475 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/1.193, allocations: 124.8 kB / 0.6476 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.203, allocations: 1.515 MB / 0.6491 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007922/1.211, allocations: 1.29 MB / 0.6504 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/1.239, allocations: 9.818 MB / 0.6599 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.245, allocations: 303.5 kB / 0.6602 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.246, allocations: 363.4 kB / 0.6606 GB, free: 252 kB / 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.005176/1.252, allocations: 1.898 MB / 0.6624 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009758/1.253, allocations: 327.8 kB / 0.6627 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.271, allocations: 4.055 MB / 0.6667 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/1.271, allocations: 28.94 kB / 0.6667 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.271, allocations: 8 kB / 0.6667 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/1.271, allocations: 7.969 kB / 0.6667 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/1.308, allocations: 8.384 MB / 0.6749 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.308, allocations: 4 kB / 0.6749 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.31, allocations: 251.6 kB / 0.6752 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008948/1.319, allocations: 1.214 MB / 0.6764 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004525/1.32, allocations: 36.02 kB / 0.6764 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/1.343, allocations: 8.022 MB / 0.6842 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.343, allocations: 0 / 0.6842 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/1.366, allocations: 6.506 MB / 0.6906 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/1.368, allocations: 0.6137 MB / 0.6912 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007369/1.369, allocations: 28 kB / 0.6912 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/1.371, allocations: 87.91 kB / 0.6913 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/1.372, allocations: 117.1 kB / 0.6914 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/1.372, allocations: 52.05 kB / 0.6915 GB, free: 376 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005409/1.378, allocations: 2.316 MB / 0.6937 GB, free: 14.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.378, allocations: 0 / 0.6937 GB, free: 14.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006546/1.384, allocations: 0.9597 MB / 0.6947 GB, free: 13.11 MB / 474.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.02492/1.409, allocations: 7.198 MB / 0.7017 GB, free: 5.871 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.423, allocations: 5.212 MB / 0.7068 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.423, allocations: 320 / 0.7068 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3184/1.741, allocations: 1.743 MB / 0.7085 GB, free: 156.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/1.745, allocations: 386.5 kB / 0.7088 GB, free: 156.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/1.857, allocations: 33.15 MB / 0.7412 GB, free: 138.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/1.862, allocations: 3.045 MB / 0.7442 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007276/1.869, allocations: 1.799 MB / 0.7459 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003315/1.872, allocations: 1.644 MB / 0.7476 GB, free: 132.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/1.872, allocations: 7.938 kB / 0.7476 GB, free: 132.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1632/2.035, allocations: 74.65 MB / 0.8205 GB, free: 58.29 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/2.036, allocations: 214.1 kB / 0.8207 GB, free: 58.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.938/7.974, allocations: 3.938 kB / 0.8207 GB, free: 58.04 MB / 474.7 MB