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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.383/2.383, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.662e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.269, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4139, allocations: 98.52 MB / 456.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4142, allocations: 75.95 kB / 456.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4928/0.907, allocations: 78.19 MB / 0.5223 GB, free: 46.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.907, allocations: 0 / 0.5223 GB, free: 46.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001306/0.9071, allocations: 76 kB / 0.5224 GB, free: 46.25 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.008516/0.9157, allocations: 3.558 MB / 0.5258 GB, free: 42.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9157, allocations: 8.031 kB / 0.5258 GB, free: 42.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.9327, allocations: 3.367 MB / 0.5291 GB, free: 39.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.9386, allocations: 2.336 MB / 0.5314 GB, free: 36.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.9389, allocations: 132 kB / 0.5315 GB, free: 36.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.9403, allocations: 228 kB / 0.5318 GB, free: 36.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01241/0.9527, allocations: 6.683 MB / 0.5383 GB, free: 29.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.9706, allocations: 9.995 MB / 0.548 GB, free: 18.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.9707, allocations: 47.56 kB / 0.5481 GB, free: 18.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007041/0.9715, allocations: 28 kB / 0.5481 GB, free: 18.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/0.973, allocations: 1.136 MB / 0.5492 GB, free: 17.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06183/1.035, allocations: 45.86 MB / 0.594 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/1.04, allocations: 2.798 MB / 0.5967 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/1.042, allocations: 1.023 MB / 0.5977 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.042, allocations: 28.75 kB / 0.5978 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/1.042, allocations: 47.38 kB / 0.5978 GB, free: 14.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.366e-06/1.042, allocations: 0 / 0.5978 GB, free: 14.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=179): time 0.006824/1.049, allocations: 2.388 MB / 0.6001 GB, free: 11.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.049, allocations: 178.9 kB / 0.6003 GB, free: 11.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006673/1.056, allocations: 3.096 MB / 0.6033 GB, free: 8.367 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.056, allocations: 25.7 kB / 0.6034 GB, free: 8.336 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003342/1.059, allocations: 3.376 MB / 0.6067 GB, free: 4.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.061, allocations: 0.6944 MB / 0.6073 GB, free: 4.207 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004038/1.061, allocations: 0 / 0.6073 GB, free: 4.207 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006237/1.062, allocations: 0.6124 MB / 0.6079 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/1.066, allocations: 1.904 MB / 0.6098 GB, free: 1.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008663/1.074, allocations: 6.441 MB / 0.6161 GB, free: 8.945 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007671/1.082, allocations: 3.595 MB / 0.6196 GB, free: 5.344 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/1.082, allocations: 44 kB / 0.6196 GB, free: 5.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.2835/1.366, allocations: 7.191 MB / 0.6267 GB, free: 107.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.366, allocations: 76.12 kB / 0.6267 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/1.366, allocations: 167.5 kB / 0.6269 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/1.366, allocations: 237.7 kB / 0.6271 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/1.373, allocations: 1.619 MB / 0.6287 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002618/1.373, allocations: 320.9 kB / 0.629 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007811/1.381, allocations: 0.8068 MB / 0.6298 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/1.383, allocations: 441.5 kB / 0.6302 GB, free: 107.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 (877): * Single equations (assignments): 871 * 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.001899/1.385, allocations: 495.6 kB / 0.6307 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.386, allocations: 311.5 kB / 0.631 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/1.39, allocations: 1.893 MB / 0.6328 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-05/1.39, allocations: 41.23 kB / 0.6329 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.642e-06/1.39, allocations: 0 / 0.6329 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/1.39, allocations: 10.67 kB / 0.6329 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.401, allocations: 5.747 MB / 0.6385 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.401, allocations: 7.656 kB / 0.6385 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.403, allocations: 251.2 kB / 0.6387 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.27e-05/1.403, allocations: 14.25 kB / 0.6388 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.403, allocations: 25.64 kB / 0.6388 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/1.403, allocations: 24.36 kB / 0.6388 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.403, allocations: 14.25 kB / 0.6388 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/1.409, allocations: 3.598 MB / 0.6423 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/1.41, allocations: 378.5 kB / 0.6427 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.41, allocations: 19.33 kB / 0.6427 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.412, allocations: 49.27 kB / 0.6428 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/1.412, allocations: 99.02 kB / 0.6428 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.412, allocations: 51.69 kB / 0.6429 GB, free: 104.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003548/1.416, allocations: 2.022 MB / 0.6449 GB, free: 104.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.99e-07/1.416, allocations: 3.188 kB / 0.6449 GB, free: 104.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006598/1.422, allocations: 1.015 MB / 0.6459 GB, free: 104.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.0004034/1.423, allocations: 141.7 kB / 0.646 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007434/1.43, allocations: 4.389 MB / 0.6503 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.43, allocations: 7.078 kB / 0.6503 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.432, allocations: 1.051 MB / 0.6513 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.434, allocations: 262.2 kB / 0.6516 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.448, allocations: 7.825 MB / 0.6592 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.453, allocations: 3.364 MB / 0.6625 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.454, allocations: 287.8 kB / 0.6628 GB, free: 101.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.807e-06/1.454, allocations: 3.938 kB / 0.6628 GB, free: 101.6 MB / 458.7 MB Notification: Performance of Templates: time 0.07331/1.527, allocations: 51.6 MB / 0.7132 GB, free: 66.46 MB / 458.7 MB