Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.227/2.227, allocations: 234.9 MB / 250.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004493, allocations: 16 kB / 314.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.356, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03556/0.3916, allocations: 21.63 MB / 390.9 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.4091, allocations: 6.026 MB / 396.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004221/0.4134, allocations: 111.8 kB / 397 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.4176, allocations: 1.147 MB / 398.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.4294, allocations: 3.055 MB / 401.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.4326, allocations: 0.5655 MB / 401.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005762/0.4384, allocations: 2.047 MB / 403.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00639/0.4448, allocations: 2.814 MB / 406.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.4471, allocations: 0.8486 MB / 407.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4497, allocations: 1.129 MB / 408.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009158/0.4507, allocations: 128 kB / 408.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.4528, allocations: 0.5266 MB / 409.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.4554, allocations: 1.383 MB / 410.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.4568, allocations: 0.7803 MB / 411.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.4651, allocations: 4.972 MB / 416.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4652, allocations: 0 / 416.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4652, allocations: 0 / 416.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.4654, allocations: 0 / 416.4 MB, free: 13.43 MB / 346.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.009643/0.4751, allocations: 3.482 MB / 419.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4751, allocations: 8.031 kB / 419.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00225/0.4774, allocations: 0.7454 MB / 420.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02199/0.4994, allocations: 3.668 MB / 424.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.5054, allocations: 1.822 MB / 426.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.5058, allocations: 204.9 kB / 426.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.5073, allocations: 255.8 kB / 426.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/0.5326, allocations: 10.53 MB / 437.1 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.5327, allocations: 31.75 kB / 437.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006898/0.5334, allocations: 127.8 kB / 437.3 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007049/0.5405, allocations: 2.443 MB / 439.7 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/0.5725, allocations: 9.345 MB / 449.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08822/0.6608, allocations: 38.87 MB / 487.9 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009494/0.6703, allocations: 3.482 MB / 491.4 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/0.6859, allocations: 5.482 MB / 496.9 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/0.686, allocations: 51.06 kB / 497 MB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 6.492e-06/0.686, allocations: 0 / 497 MB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01261/0.6986, allocations: 3.864 MB / 0.4891 GB, free: 6.461 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6988, allocations: 170.8 kB / 0.4893 GB, free: 6.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008313/0.7071, allocations: 3.911 MB / 0.4931 GB, free: 2.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.7075, allocations: 41.7 kB / 0.4931 GB, free: 2.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3176/1.025, allocations: 3.291 MB / 0.4963 GB, free: 120.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.027, allocations: 0.6163 MB / 0.4969 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009119/1.028, allocations: 130.6 kB / 0.497 GB, free: 119.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009471/1.029, allocations: 0.598 MB / 0.4976 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008574/1.037, allocations: 1.972 MB / 0.4996 GB, free: 119 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008066/1.045, allocations: 6.262 MB / 0.5057 GB, free: 112.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007469/1.053, allocations: 3.521 MB / 0.5091 GB, free: 111.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.053, allocations: 45.34 kB / 0.5092 GB, free: 111.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02282/1.076, allocations: 7.78 MB / 0.5168 GB, free: 107.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/1.076, allocations: 71.78 kB / 0.5168 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003441/1.076, allocations: 152 kB / 0.517 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/1.077, allocations: 224 kB / 0.5172 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/1.089, allocations: 1.506 MB / 0.5187 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003949/1.089, allocations: 297.4 kB / 0.5189 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/1.099, allocations: 0.9367 MB / 0.5198 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.101, allocations: 415.9 kB / 0.5202 GB, free: 104.2 MB / 426.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.006767/1.108, allocations: 2.27 MB / 0.5225 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009698/1.109, allocations: 313.8 kB / 0.5228 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.11, allocations: 416.8 kB / 0.5232 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001328/1.11, allocations: 44.73 kB / 0.5232 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.11, allocations: 4 kB / 0.5232 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.11, allocations: 8.625 kB / 0.5232 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.129, allocations: 5.69 MB / 0.5288 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.129, allocations: 4 kB / 0.5288 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.132, allocations: 213.3 kB / 0.529 GB, free: 96.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.788e-05/1.132, allocations: 12.66 kB / 0.529 GB, free: 96.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.132, allocations: 29.33 kB / 0.529 GB, free: 96.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-05/1.132, allocations: 15.92 kB / 0.529 GB, free: 96.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.132, allocations: 8.5 kB / 0.529 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/1.138, allocations: 2.582 MB / 0.5316 GB, free: 93.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.139, allocations: 384.6 kB / 0.5319 GB, free: 93.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008476/1.14, allocations: 29.31 kB / 0.532 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.142, allocations: 69.33 kB / 0.532 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.142, allocations: 84.3 kB / 0.5321 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.143, allocations: 51.88 kB / 0.5322 GB, free: 93.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005108/1.148, allocations: 2.375 MB / 0.5345 GB, free: 90.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.148, allocations: 0 / 0.5345 GB, free: 90.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006457/1.154, allocations: 1.129 MB / 0.5356 GB, free: 89.62 MB / 426.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.00513/1.159, allocations: 3.199 MB / 0.5387 GB, free: 86.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009253/1.169, allocations: 4.489 MB / 0.5431 GB, free: 81.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.169, allocations: 0 / 0.5431 GB, free: 81.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.171, allocations: 0.9606 MB / 0.544 GB, free: 80.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.173, allocations: 322.7 kB / 0.5443 GB, free: 80.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/1.206, allocations: 20.82 MB / 0.5647 GB, free: 56.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.211, allocations: 3.361 MB / 0.5679 GB, free: 52.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003701/1.215, allocations: 1.8 MB / 0.5697 GB, free: 51.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/1.215, allocations: 0 / 0.5697 GB, free: 51.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.777/4.991, allocations: 77.01 MB / 0.6449 GB, free: 6.008 MB / 458.7 MB