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: 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 2.112/2.112, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004708, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3558, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.517, allocations: 92.64 MB / 424.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5174, allocations: 87.95 kB / 424.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6141/1.131, allocations: 79.96 MB / 0.4927 GB, free: 93.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.132, allocations: 0 / 0.4927 GB, free: 93.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001622/1.132, allocations: 75 kB / 0.4927 GB, free: 93.62 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.01275/1.144, allocations: 3.668 MB / 0.4963 GB, free: 91.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.145, allocations: 13.16 kB / 0.4963 GB, free: 91.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/1.17, allocations: 3.372 MB / 0.4996 GB, free: 91.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00812/1.178, allocations: 2.348 MB / 0.5019 GB, free: 90.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/1.178, allocations: 309.1 kB / 0.5022 GB, free: 89.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002566/1.181, allocations: 399.7 kB / 0.5026 GB, free: 89.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/1.212, allocations: 10.76 MB / 0.5131 GB, free: 82.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/1.213, allocations: 48.05 kB / 0.5131 GB, free: 82.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/1.215, allocations: 200.1 kB / 0.5133 GB, free: 82.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01049/1.226, allocations: 1.132 MB / 0.5144 GB, free: 81.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0801/1.306, allocations: 9.429 MB / 0.5236 GB, free: 72.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/1.412, allocations: 46.89 MB / 0.5694 GB, free: 24.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008426/1.421, allocations: 3.483 MB / 0.5728 GB, free: 20.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.435, allocations: 5.315 MB / 0.578 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/1.435, allocations: 47.12 kB / 0.5781 GB, free: 14.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 6.162e-06/1.435, allocations: 4 kB / 0.5781 GB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.01117/1.446, allocations: 3.866 MB / 0.5818 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/1.446, allocations: 170.7 kB / 0.582 GB, free: 10.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007634/1.454, allocations: 3.891 MB / 0.5858 GB, free: 6.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002772/1.454, allocations: 45.7 kB / 0.5859 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002485/1.456, allocations: 3.302 MB / 0.5891 GB, free: 3.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009678/1.457, allocations: 0.6186 MB / 0.5897 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/1.458, allocations: 124 kB / 0.5898 GB, free: 2.781 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004156/1.458, allocations: 0.5956 MB / 0.5904 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.463, allocations: 1.949 MB / 0.5923 GB, free: 228 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0097/1.473, allocations: 6.204 MB / 0.5983 GB, free: 7.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00882/1.481, allocations: 3.479 MB / 0.6017 GB, free: 4.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.482, allocations: 44 kB / 0.6018 GB, free: 4.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02285/1.504, allocations: 7.712 MB / 0.6093 GB, free: 12.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.505, allocations: 71.98 kB / 0.6094 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002805/1.505, allocations: 152 kB / 0.6095 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/1.505, allocations: 220 kB / 0.6097 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009485/1.515, allocations: 1.497 MB / 0.6112 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003833/1.515, allocations: 303.3 kB / 0.6115 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/1.522, allocations: 0.932 MB / 0.6124 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/1.524, allocations: 407.1 kB / 0.6128 GB, free: 9.074 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 () * Number of clocked 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.006622/1.531, allocations: 2.268 MB / 0.615 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.531, allocations: 319.8 kB / 0.6153 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/1.533, allocations: 423.9 kB / 0.6157 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.695e-05/1.533, allocations: 39.34 kB / 0.6158 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.533, allocations: 4 kB / 0.6158 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/1.533, allocations: 7.984 kB / 0.6158 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/1.55, allocations: 5.759 MB / 0.6214 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.551, allocations: 4 kB / 0.6214 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3084/1.859, allocations: 211.8 kB / 0.6216 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.896e-05/1.859, allocations: 12.45 kB / 0.6216 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.859, allocations: 31.53 kB / 0.6216 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.224e-05/1.859, allocations: 14.14 kB / 0.6216 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-05/1.859, allocations: 10.91 kB / 0.6217 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/1.865, allocations: 2.566 MB / 0.6242 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.866, allocations: 392.5 kB / 0.6245 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.867, allocations: 32.28 kB / 0.6246 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.87, allocations: 68.17 kB / 0.6246 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.87, allocations: 87.28 kB / 0.6247 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.871, allocations: 47.06 kB / 0.6248 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007173/1.878, allocations: 2.377 MB / 0.6271 GB, free: 108.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.363e-06/1.878, allocations: 0 / 0.6271 GB, free: 108.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007419/1.885, allocations: 1.129 MB / 0.6282 GB, free: 108.7 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.0006741/1.886, allocations: 158.7 kB / 0.6283 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.897, allocations: 4.447 MB / 0.6327 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.897, allocations: 1.281 kB / 0.6327 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.9, allocations: 0.9623 MB / 0.6336 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.903, allocations: 327.4 kB / 0.6339 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.928, allocations: 10.78 MB / 0.6445 GB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007538/1.936, allocations: 3.361 MB / 0.6477 GB, free: 102.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.937, allocations: 282.8 kB / 0.648 GB, free: 102.9 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/1.937, allocations: 0 / 0.648 GB, free: 102.9 MB / 426.7 MB Notification: Performance of Templates: time 0.1057/2.043, allocations: 52.66 MB / 0.6994 GB, free: 73.23 MB / 426.7 MB