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.842/1.842, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.000437, allocations: 12 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08853, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2801/0.3687, allocations: 21.6 MB / 352.8 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.3833, allocations: 6.018 MB / 358.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.3884, allocations: 110.8 kB / 358.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003834/0.3923, allocations: 1.149 MB / 360.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.4037, allocations: 3.058 MB / 363.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.4066, allocations: 0.5653 MB / 363.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005145/0.4117, allocations: 2.042 MB / 365.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005296/0.4171, allocations: 2.822 MB / 368.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.4188, allocations: 0.8501 MB / 369.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.4209, allocations: 1.124 MB / 370.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006289/0.4216, allocations: 134.6 kB / 370.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.423, allocations: 0.5203 MB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.4247, allocations: 1.378 MB / 372.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.4256, allocations: 0.7871 MB / 373.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.433, allocations: 4.978 MB / 378.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.53e-06/0.4331, allocations: 0 / 378.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.951e-06/0.4331, allocations: 0 / 378.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.4332, allocations: 7.938 kB / 378.3 MB, free: 5.754 MB / 298.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.007938/0.4412, allocations: 3.471 MB / 381.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4412, allocations: 8.031 kB / 381.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.457, allocations: 3.664 MB / 385.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.4619, allocations: 1.834 MB / 387.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.4621, allocations: 201 kB / 387.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009549/0.4631, allocations: 255.8 kB / 387.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.4847, allocations: 10.53 MB / 398.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.813e-05/0.4848, allocations: 31.73 kB / 398.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000574/0.4854, allocations: 131.8 kB / 398.4 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005126/0.4905, allocations: 2.431 MB / 400.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.5132, allocations: 9.345 MB / 410.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06524/0.5785, allocations: 38.86 MB / 449.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008421/0.5869, allocations: 3.49 MB / 452.6 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.013/0.6, allocations: 5.477 MB / 458.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.6001, allocations: 47.06 kB / 458.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 6.626e-06/0.6001, allocations: 0 / 458.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.01102/0.6111, allocations: 3.871 MB / 462 MB, free: 15.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.6113, allocations: 167.1 kB / 462.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/0.6195, allocations: 3.911 MB / 466 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.6197, allocations: 41.7 kB / 466.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00347/0.6232, allocations: 3.303 MB / 469.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.6242, allocations: 0.6137 MB / 470 MB, free: 7.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.6248, allocations: 128 kB / 470.1 MB, free: 7.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006188/0.6254, allocations: 0.5997 MB / 470.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004597/0.63, allocations: 1.969 MB / 472.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00905/0.6391, allocations: 6.257 MB / 479 MB, free: 12.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00768/0.6468, allocations: 3.515 MB / 482.5 MB, free: 8.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.647, allocations: 44 kB / 482.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02/0.667, allocations: 7.784 MB / 490.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.6672, allocations: 72 kB / 490.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/0.6674, allocations: 152 kB / 490.5 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.6677, allocations: 224 kB / 490.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/0.6738, allocations: 1.501 MB / 492.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/0.6741, allocations: 302.8 kB / 492.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00615/0.6803, allocations: 0.9471 MB / 493.5 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.6815, allocations: 416 kB / 493.9 MB, free: 13.39 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.004984/0.6865, allocations: 2.272 MB / 496.2 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006975/0.6872, allocations: 315.8 kB / 496.5 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.6882, allocations: 416 kB / 496.9 MB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-05/0.6883, allocations: 36 kB / 496.9 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6883, allocations: 0 / 496.9 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.6883, allocations: 15.92 kB / 496.9 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.7017, allocations: 5.684 MB / 0.4908 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.7017, allocations: 4 kB / 0.4908 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.703, allocations: 211.7 kB / 0.491 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.193e-05/0.703, allocations: 15.98 kB / 0.491 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.7031, allocations: 28 kB / 0.4911 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/0.7032, allocations: 15.94 kB / 0.4911 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.7032, allocations: 15.88 kB / 0.4911 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.7076, allocations: 2.578 MB / 0.4936 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/0.7087, allocations: 400.5 kB / 0.494 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005844/0.7093, allocations: 27.94 kB / 0.494 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.7106, allocations: 63.91 kB / 0.4941 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.7109, allocations: 88.33 kB / 0.4942 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.711, allocations: 47.97 kB / 0.4942 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2477/0.9587, allocations: 2.372 MB / 0.4965 GB, free: 132.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.9588, allocations: 0 / 0.4965 GB, free: 132.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006476/0.9653, allocations: 1.12 MB / 0.4976 GB, free: 132.8 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.0004934/0.9658, allocations: 162.1 kB / 0.4978 GB, free: 132.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008839/0.9746, allocations: 4.481 MB / 0.5022 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9747, allocations: 1.031 kB / 0.5022 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9764, allocations: 0.9623 MB / 0.5031 GB, free: 131.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.9784, allocations: 332.6 kB / 0.5034 GB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.9981, allocations: 10.78 MB / 0.5139 GB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006163/1.004, allocations: 3.363 MB / 0.5172 GB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.005, allocations: 279.4 kB / 0.5175 GB, free: 124.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.727e-06/1.006, allocations: 3.938 kB / 0.5175 GB, free: 124.5 MB / 426.7 MB Notification: Performance of Templates: time 0.07797/1.083, allocations: 52.63 MB / 0.5689 GB, free: 82.37 MB / 426.7 MB