Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02218/0.3628, allocations: 14.09 MB / 383.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3734, allocations: 3.661 MB / 387 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.376, allocations: 63.88 kB / 387.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.3786, allocations: 0.6727 MB / 387.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.3862, allocations: 1.878 MB / 389.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.3877, allocations: 231.5 kB / 389.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.3908, allocations: 1.119 MB / 391 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.3943, allocations: 1.489 MB / 392.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3958, allocations: 0.541 MB / 393 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3975, allocations: 0.6968 MB / 393.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004877/0.398, allocations: 72 kB / 393.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.4001, allocations: 0.6319 MB / 394.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.4016, allocations: 0.7948 MB / 395.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007916/0.4024, allocations: 480.1 kB / 395.7 MB, free: 204 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.4076, allocations: 2.811 MB / 398.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4077, allocations: 0 / 398.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4077, allocations: 0 / 398.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001235/0.4078, allocations: 0 / 398.5 MB, free: 13.38 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.007164/0.415, allocations: 2.298 MB / 400.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4151, allocations: 8.031 kB / 400.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001346/0.4164, allocations: 458 kB / 401.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.4279, allocations: 1.888 MB / 403.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.4313, allocations: 1.056 MB / 404.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.4315, allocations: 114.9 kB / 404.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/0.4324, allocations: 151.9 kB / 404.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4487, allocations: 6.236 MB / 410.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4489, allocations: 23.72 kB / 410.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.4494, allocations: 79.89 kB / 410.8 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003946/0.4534, allocations: 1.386 MB / 412.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.47, allocations: 5.412 MB / 417.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04407/0.5142, allocations: 24.78 MB / 442.4 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008105/0.5224, allocations: 2.37 MB / 444.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.523, allocations: 323.8 kB / 445 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.5231, allocations: 50.42 kB / 445.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 4.368e-06/0.5231, allocations: 0 / 445.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.04016/0.5633, allocations: 8.767 MB / 453.9 MB, free: 4.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5634, allocations: 148.5 kB / 454 MB, free: 4.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005427/0.5689, allocations: 2.599 MB / 456.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.5692, allocations: 41.69 kB / 456.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/0.5713, allocations: 2.019 MB / 458.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/0.5721, allocations: 438.6 kB / 459.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.5725, allocations: 84 kB / 459.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004092/0.5729, allocations: 496.3 kB / 459.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/0.5765, allocations: 1.316 MB / 461 MB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006504/0.5831, allocations: 4.062 MB / 465 MB, free: 7.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.5888, allocations: 2.287 MB / 467.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.661e-05/0.589, allocations: 32 kB / 467.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.4023/0.9913, allocations: 5.371 MB / 472.7 MB, free: 85.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.9915, allocations: 47.62 kB / 472.8 MB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002663/0.9917, allocations: 98.34 kB / 472.9 MB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.994, allocations: 473.7 kB / 473.3 MB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/0.9999, allocations: 0.9701 MB / 474.3 MB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/1.006, allocations: 3.462 MB / 477.8 MB, free: 84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/1.011, allocations: 226.2 kB / 478 MB, free: 84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009115/1.012, allocations: 275 kB / 478.3 MB, free: 83.99 MB / 394.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.003539/1.015, allocations: 1.356 MB / 479.6 MB, free: 83.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/1.016, allocations: 214.5 kB / 479.8 MB, free: 83.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/1.02, allocations: 1.325 MB / 481.1 MB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-05/1.02, allocations: 16.27 kB / 481.2 MB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.02, allocations: 3.906 kB / 481.2 MB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/1.02, allocations: 7.562 kB / 481.2 MB, free: 82.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.031, allocations: 4.219 MB / 485.4 MB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.031, allocations: 0 / 485.4 MB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.033, allocations: 147.2 kB / 485.5 MB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/1.034, allocations: 314.2 kB / 485.8 MB, free: 81.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.034, allocations: 20.73 kB / 485.9 MB, free: 81.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/1.039, allocations: 2.894 MB / 488.8 MB, free: 79.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.039, allocations: 6.625 kB / 488.8 MB, free: 79.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/1.045, allocations: 3.051 MB / 491.8 MB, free: 78.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.046, allocations: 410.8 kB / 492.2 MB, free: 77.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/1.047, allocations: 20.31 kB / 492.2 MB, free: 77.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.048, allocations: 49.17 kB / 492.3 MB, free: 77.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/1.048, allocations: 60.52 kB / 492.3 MB, free: 77.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.049, allocations: 28.97 kB / 492.4 MB, free: 77.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003346/1.052, allocations: 1.597 MB / 494 MB, free: 77.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.052, allocations: 3.812 kB / 494 MB, free: 77.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004296/1.056, allocations: 0.601 MB / 494.6 MB, free: 76.93 MB / 394.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.006349/1.063, allocations: 3.66 MB / 498.2 MB, free: 73.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006428/1.069, allocations: 3.182 MB / 0.4897 GB, free: 70.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.069, allocations: 2.156 kB / 0.4897 GB, free: 70.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.071, allocations: 0.8666 MB / 0.4905 GB, free: 69.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.072, allocations: 185.8 kB / 0.4907 GB, free: 69.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04827/1.121, allocations: 20.61 MB / 0.5108 GB, free: 46.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.124, allocations: 2.221 MB / 0.513 GB, free: 44.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.126, allocations: 1.046 MB / 0.514 GB, free: 43.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/1.126, allocations: 0 / 0.514 GB, free: 43.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.565/4.691, allocations: 58.93 MB / 0.5715 GB, free: 0.5156 MB / 410.7 MB