Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 2.199/2.199, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004399, allocations: 12 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03174/0.3102, allocations: 21.63 MB / 390.8 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.3254, allocations: 6.034 MB / 396.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.3294, allocations: 107.8 kB / 396.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.3329, allocations: 1.143 MB / 398.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.3435, allocations: 3.047 MB / 401.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.3461, allocations: 0.5733 MB / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.3508, allocations: 2.043 MB / 403.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.356, allocations: 2.825 MB / 406.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.3577, allocations: 0.8525 MB / 407.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.3597, allocations: 1.121 MB / 408.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.3602, allocations: 132 kB / 408.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.3616, allocations: 0.5227 MB / 409.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.3634, allocations: 1.383 MB / 410.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009936/0.3644, allocations: 0.7843 MB / 411.4 MB, free: 356 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007196/0.3716, allocations: 4.973 MB / 416.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3717, allocations: 0 / 416.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.793e-06/0.3717, allocations: 0 / 416.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.3718, allocations: 0 / 416.3 MB, free: 11.36 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.007504/0.3793, allocations: 3.479 MB / 419.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3794, allocations: 16.03 kB / 419.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.395, allocations: 3.649 MB / 423.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004791/0.3998, allocations: 1.83 MB / 425.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.4001, allocations: 201 kB / 425.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4011, allocations: 259.8 kB / 425.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.4226, allocations: 10.53 MB / 436.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.4227, allocations: 31.69 kB / 436.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005581/0.4233, allocations: 131.8 kB / 436.5 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005103/0.4284, allocations: 2.431 MB / 438.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02279/0.4513, allocations: 9.357 MB / 448.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3213/0.7726, allocations: 38.86 MB / 487.1 MB, free: 63.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/0.7797, allocations: 3.48 MB / 490.6 MB, free: 62.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.7916, allocations: 5.479 MB / 496.1 MB, free: 59.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7917, allocations: 43.09 kB / 496.1 MB, free: 59.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 6.704e-06/0.7917, allocations: 0 / 496.1 MB, free: 59.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.0101/0.8018, allocations: 3.871 MB / 500 MB, free: 58.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.8019, allocations: 172.4 kB / 0.4884 GB, free: 58.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006547/0.8085, allocations: 3.904 MB / 0.4922 GB, free: 56.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.8087, allocations: 43.02 kB / 0.4923 GB, free: 56.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/0.8109, allocations: 3.304 MB / 0.4955 GB, free: 54.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.8117, allocations: 0.6169 MB / 0.4961 GB, free: 53.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.8121, allocations: 130.2 kB / 0.4962 GB, free: 53.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003931/0.8125, allocations: 0.5968 MB / 0.4968 GB, free: 53.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/0.8163, allocations: 1.975 MB / 0.4987 GB, free: 52.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/0.8225, allocations: 6.258 MB / 0.5049 GB, free: 45.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005872/0.8284, allocations: 3.514 MB / 0.5083 GB, free: 42.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.8285, allocations: 44 kB / 0.5083 GB, free: 42.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.0157/0.8442, allocations: 7.779 MB / 0.5159 GB, free: 34.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.8444, allocations: 72 kB / 0.516 GB, free: 34.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/0.8446, allocations: 152.8 kB / 0.5161 GB, free: 34.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.8448, allocations: 220 kB / 0.5164 GB, free: 33.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005421/0.8503, allocations: 1.509 MB / 0.5178 GB, free: 32.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.8505, allocations: 304.1 kB / 0.5181 GB, free: 32.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/0.8564, allocations: 0.9404 MB / 0.519 GB, free: 31.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009154/0.8574, allocations: 412.9 kB / 0.5194 GB, free: 30.71 MB / 394.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.004158/0.8616, allocations: 2.267 MB / 0.5216 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.8622, allocations: 319.8 kB / 0.5219 GB, free: 28.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.863, allocations: 420 kB / 0.5223 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.202e-05/0.8631, allocations: 48.81 kB / 0.5224 GB, free: 27.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.8631, allocations: 0 / 0.5224 GB, free: 27.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.8632, allocations: 10.05 kB / 0.5224 GB, free: 27.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.8744, allocations: 5.673 MB / 0.5279 GB, free: 21.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.8745, allocations: 11.98 kB / 0.528 GB, free: 21.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8757, allocations: 212.4 kB / 0.5282 GB, free: 21.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.8757, allocations: 16 kB / 0.5282 GB, free: 21.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8758, allocations: 27.95 kB / 0.5282 GB, free: 21.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.8759, allocations: 19.92 kB / 0.5282 GB, free: 21.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.857e-06/0.8759, allocations: 8 kB / 0.5282 GB, free: 21.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.8793, allocations: 2.567 MB / 0.5307 GB, free: 18.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/0.8801, allocations: 396.5 kB / 0.5311 GB, free: 18.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.8806, allocations: 31.98 kB / 0.5311 GB, free: 18.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.882, allocations: 64.89 kB / 0.5312 GB, free: 18.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.8822, allocations: 89.39 kB / 0.5313 GB, free: 18.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.8824, allocations: 44 kB / 0.5313 GB, free: 18.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003992/0.8864, allocations: 2.375 MB / 0.5337 GB, free: 15.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.253e-06/0.8864, allocations: 3.938 kB / 0.5337 GB, free: 15.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005861/0.8923, allocations: 1.12 MB / 0.5347 GB, free: 14.82 MB / 394.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.0004502/0.8928, allocations: 167.6 kB / 0.5349 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.9007, allocations: 4.484 MB / 0.5393 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.249e-06/0.9008, allocations: 0 / 0.5393 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.9023, allocations: 0.9684 MB / 0.5402 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.9041, allocations: 342.6 kB / 0.5406 GB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/0.923, allocations: 10.77 MB / 0.5511 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006805/0.9299, allocations: 3.366 MB / 0.5544 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.9311, allocations: 283.4 kB / 0.5546 GB, free: 10.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.677e-06/0.9311, allocations: 0 / 0.5546 GB, free: 10.35 MB / 410.7 MB Notification: Performance of Templates: time 0.09785/1.029, allocations: 52.62 MB / 0.606 GB, free: 5.688 MB / 458.7 MB