Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.287e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4681, allocations: 92.55 MB / 419.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4684, allocations: 74.03 kB / 419.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3018/0.7701, allocations: 79.85 MB / 499 MB, free: 6.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.777e-06/0.7702, allocations: 0 / 499 MB, free: 6.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001785/0.7704, allocations: 79.94 kB / 499.1 MB, free: 6.078 MB / 394.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.01048/0.7809, allocations: 3.558 MB / 0.4909 GB, free: 2.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7809, allocations: 8.031 kB / 0.4909 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/0.7993, allocations: 3.383 MB / 0.4942 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/0.8062, allocations: 2.325 MB / 0.4964 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.8067, allocations: 312 kB / 0.4967 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/0.8087, allocations: 403.9 kB / 0.4971 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.8342, allocations: 10.65 MB / 0.5075 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.8344, allocations: 51.5 kB / 0.5076 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.8357, allocations: 195.9 kB / 0.5078 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.8379, allocations: 1.139 MB / 0.5089 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.8601, allocations: 9.287 MB / 0.5179 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2953/1.155, allocations: 46.88 MB / 0.5637 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007371/1.163, allocations: 3.463 MB / 0.5671 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/1.165, allocations: 1.248 MB / 0.5683 GB, free: 65.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/1.177, allocations: 5.322 MB / 0.5735 GB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.177, allocations: 45.66 kB / 0.5736 GB, free: 64.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.75e-06/1.177, allocations: 3.844 kB / 0.5736 GB, free: 64.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.008143/1.185, allocations: 2.526 MB / 0.576 GB, free: 63.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.185, allocations: 169.9 kB / 0.5762 GB, free: 63.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/1.191, allocations: 3.46 MB / 0.5796 GB, free: 63.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/1.192, allocations: 39.55 kB / 0.5796 GB, free: 63.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.194, allocations: 3.308 MB / 0.5828 GB, free: 61.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/1.194, allocations: 0.6172 MB / 0.5834 GB, free: 61.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/1.195, allocations: 130.7 kB / 0.5836 GB, free: 61.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00039/1.195, allocations: 0.5953 MB / 0.5842 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/1.199, allocations: 1.902 MB / 0.586 GB, free: 60.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/1.204, allocations: 6.146 MB / 0.592 GB, free: 54.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006326/1.21, allocations: 3.485 MB / 0.5954 GB, free: 53.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.211, allocations: 41.62 kB / 0.5955 GB, free: 53.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01693/1.228, allocations: 7.621 MB / 0.6029 GB, free: 50.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.228, allocations: 66.97 kB / 0.603 GB, free: 50.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.228, allocations: 151.6 kB / 0.6031 GB, free: 50.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/1.228, allocations: 224.7 kB / 0.6033 GB, free: 50.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005991/1.234, allocations: 1.506 MB / 0.6048 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002506/1.234, allocations: 297 kB / 0.6051 GB, free: 50.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/1.241, allocations: 0.9295 MB / 0.606 GB, free: 50.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.242, allocations: 413.8 kB / 0.6064 GB, free: 50.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (813): * Single equations (assignments): 807 * 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 prepare postOptimizeDAE: time 0.001134/1.243, allocations: 0.5931 MB / 0.607 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/1.244, allocations: 316.7 kB / 0.6073 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.245, allocations: 422 kB / 0.6077 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-05/1.245, allocations: 38.66 kB / 0.6077 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.245, allocations: 0 / 0.6077 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.245, allocations: 3.562 kB / 0.6077 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.258, allocations: 5.751 MB / 0.6133 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.258, allocations: 12.25 kB / 0.6133 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.259, allocations: 213.5 kB / 0.6135 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/1.259, allocations: 7.875 kB / 0.6135 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.26, allocations: 31.78 kB / 0.6136 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/1.26, allocations: 15.56 kB / 0.6136 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.26, allocations: 15.75 kB / 0.6136 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/1.264, allocations: 3.217 MB / 0.6167 GB, free: 44.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008824/1.264, allocations: 391.3 kB / 0.6171 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006601/1.265, allocations: 33.73 kB / 0.6171 GB, free: 44.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.267, allocations: 63.42 kB / 0.6172 GB, free: 44.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.267, allocations: 87.48 kB / 0.6173 GB, free: 44.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.267, allocations: 38.59 kB / 0.6173 GB, free: 44.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005038/1.273, allocations: 2.351 MB / 0.6196 GB, free: 43.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.513e-06/1.273, allocations: 0 / 0.6196 GB, free: 43.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007052/1.28, allocations: 1.132 MB / 0.6207 GB, free: 43.35 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 () * 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.0005295/1.28, allocations: 151.8 kB / 0.6209 GB, free: 43.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008295/1.288, allocations: 4.401 MB / 0.6252 GB, free: 40.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.289, allocations: 4 kB / 0.6252 GB, free: 40.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.29, allocations: 0.9442 MB / 0.6261 GB, free: 39.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.292, allocations: 337 kB / 0.6264 GB, free: 39.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.309, allocations: 7.608 MB / 0.6338 GB, free: 32.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00608/1.315, allocations: 3.361 MB / 0.6371 GB, free: 29.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.316, allocations: 285.8 kB / 0.6374 GB, free: 29.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.857e-06/1.317, allocations: 0 / 0.6374 GB, free: 29.38 MB / 426.7 MB Notification: Performance of Templates: time 0.321/1.637, allocations: 52.64 MB / 0.6888 GB, free: 109.1 MB / 442.7 MB