Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004329, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3409, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03211/0.373, allocations: 21.61 MB / 352.9 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.3913, allocations: 6.016 MB / 358.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005536/0.3969, allocations: 111.6 kB / 359 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004708/0.4017, allocations: 1.15 MB / 360.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4148, allocations: 3.055 MB / 363.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.4182, allocations: 0.5577 MB / 363.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005828/0.424, allocations: 2.043 MB / 365.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005832/0.4299, allocations: 2.822 MB / 368.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.4319, allocations: 0.8564 MB / 369.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.4345, allocations: 1.121 MB / 370.6 MB, free: 7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007849/0.4353, allocations: 136 kB / 370.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4371, allocations: 0.5227 MB / 371.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.4393, allocations: 1.371 MB / 372.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.4404, allocations: 0.7843 MB / 373.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007952/0.4484, allocations: 4.969 MB / 378.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4484, allocations: 0 / 378.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4485, allocations: 0 / 378.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002054/0.4487, allocations: 0 / 378.4 MB, free: 15.2 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.009439/0.4581, allocations: 3.482 MB / 381.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4582, allocations: 12.03 kB / 381.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002211/0.4604, allocations: 0.7493 MB / 382.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/0.482, allocations: 3.664 MB / 386.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006242/0.4882, allocations: 1.826 MB / 388.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.4886, allocations: 201 kB / 388.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.4906, allocations: 259.8 kB / 388.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/0.5153, allocations: 10.53 MB / 399.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.5155, allocations: 39.64 kB / 399.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006229/0.5161, allocations: 131.8 kB / 399.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006534/0.5227, allocations: 2.427 MB / 401.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/0.5483, allocations: 9.349 MB / 411.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07204/0.6204, allocations: 38.87 MB / 449.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009564/0.63, allocations: 3.48 MB / 453.4 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.645, allocations: 5.476 MB / 458.9 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.6451, allocations: 47.06 kB / 458.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 5.66e-06/0.6451, allocations: 4 kB / 458.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.01229/0.6575, allocations: 3.867 MB / 462.8 MB, free: 8.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6576, allocations: 170.7 kB / 463 MB, free: 8.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008821/0.6664, allocations: 3.907 MB / 466.9 MB, free: 4.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.6668, allocations: 45.7 kB / 466.9 MB, free: 4.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003605/0.6704, allocations: 3.295 MB / 470.2 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.6716, allocations: 0.6214 MB / 470.8 MB, free: 108 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006559/0.6723, allocations: 124.1 kB / 471 MB, free: 15.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005568/0.6729, allocations: 0.5958 MB / 471.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/0.6781, allocations: 1.973 MB / 473.5 MB, free: 13.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008917/0.6871, allocations: 6.261 MB / 479.8 MB, free: 4.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/0.6957, allocations: 3.515 MB / 483.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/0.6959, allocations: 44 kB / 483.3 MB, free: 1.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.296/0.9919, allocations: 7.775 MB / 491.1 MB, free: 121.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.9921, allocations: 70.91 kB / 491.2 MB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/0.9924, allocations: 151.6 kB / 491.3 MB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.9927, allocations: 221.7 kB / 491.6 MB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00885/1.002, allocations: 1.507 MB / 493.1 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004271/1.002, allocations: 295.3 kB / 493.4 MB, free: 121.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.009, allocations: 0.9466 MB / 494.3 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.01, allocations: 416.8 kB / 494.7 MB, free: 121.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (816): * Single equations (assignments): 808 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005642/1.016, allocations: 2.267 MB / 497 MB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/1.017, allocations: 321.3 kB / 497.3 MB, free: 119.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/1.018, allocations: 419.6 kB / 497.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/1.018, allocations: 36.64 kB / 497.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.018, allocations: 5.328 kB / 497.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.018, allocations: 9.25 kB / 497.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.032, allocations: 5.678 MB / 0.4916 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.032, allocations: 11.53 kB / 0.4916 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.034, allocations: 213 kB / 0.4918 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/1.034, allocations: 11.34 kB / 0.4919 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/1.034, allocations: 31.69 kB / 0.4919 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/1.034, allocations: 15.22 kB / 0.4919 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.034, allocations: 7.188 kB / 0.4919 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/1.039, allocations: 2.59 MB / 0.4944 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/1.039, allocations: 393 kB / 0.4948 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/1.04, allocations: 28.36 kB / 0.4948 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.042, allocations: 66.78 kB / 0.4949 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.042, allocations: 90.33 kB / 0.495 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.042, allocations: 44.03 kB / 0.495 GB, free: 115.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004792/1.047, allocations: 2.382 MB / 0.4974 GB, free: 115 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.047, allocations: 3.062 kB / 0.4974 GB, free: 115 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006295/1.054, allocations: 1.121 MB / 0.4984 GB, free: 114.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004668/1.058, allocations: 3.199 MB / 0.5016 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00904/1.067, allocations: 4.491 MB / 0.506 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.067, allocations: 0 / 0.506 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.069, allocations: 0.9586 MB / 0.5069 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.071, allocations: 326.8 kB / 0.5072 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/1.104, allocations: 20.79 MB / 0.5275 GB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005248/1.109, allocations: 3.366 MB / 0.5308 GB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003815/1.113, allocations: 1.804 MB / 0.5326 GB, free: 77.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/1.113, allocations: 0 / 0.5326 GB, free: 77.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.72/4.833, allocations: 77 MB / 0.6078 GB, free: 0.8633 MB / 410.7 MB