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.781/1.781, allocations: 209.3 MB / 224.9 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004482, allocations: 20 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4134, allocations: 92.63 MB / 423.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4137, allocations: 79.95 kB / 424 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5115/0.9253, allocations: 79.75 MB / 0.4919 GB, free: 93.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.548e-06/0.9253, allocations: 4 kB / 0.4919 GB, free: 93.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.9255, allocations: 74.34 kB / 0.492 GB, free: 93.54 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.01707/0.9426, allocations: 3.671 MB / 0.4956 GB, free: 91.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.9427, allocations: 10.09 kB / 0.4956 GB, free: 91.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04013/0.9828, allocations: 3.382 MB / 0.4989 GB, free: 91.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.9958, allocations: 2.342 MB / 0.5012 GB, free: 90.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000608/0.9965, allocations: 310.3 kB / 0.5015 GB, free: 89.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/0.9997, allocations: 398.1 kB / 0.5019 GB, free: 89.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/1.026, allocations: 10.73 MB / 0.5123 GB, free: 83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/1.027, allocations: 46.38 kB / 0.5124 GB, free: 82.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009302/1.027, allocations: 201.5 kB / 0.5126 GB, free: 82.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/1.029, allocations: 1.138 MB / 0.5137 GB, free: 82.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/1.048, allocations: 9.426 MB / 0.5229 GB, free: 72.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0545/1.103, allocations: 46.89 MB / 0.5687 GB, free: 24.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/1.11, allocations: 3.495 MB / 0.5721 GB, free: 20.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/1.12, allocations: 5.308 MB / 0.5773 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.121, allocations: 51.12 kB / 0.5773 GB, free: 15.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 7.57e-06/1.121, allocations: 0 / 0.5773 GB, free: 15.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.008919/1.13, allocations: 3.866 MB / 0.5811 GB, free: 11.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/1.13, allocations: 170.7 kB / 0.5813 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/1.136, allocations: 3.495 MB / 0.5847 GB, free: 7.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/1.136, allocations: 44.83 kB / 0.5847 GB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.138, allocations: 3.297 MB / 0.5879 GB, free: 4.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/1.138, allocations: 0.6202 MB / 0.5885 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/1.139, allocations: 136 kB / 0.5887 GB, free: 3.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004075/1.139, allocations: 0.5916 MB / 0.5893 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/1.143, allocations: 1.937 MB / 0.5911 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008611/1.152, allocations: 6.189 MB / 0.5972 GB, free: 8.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007952/1.16, allocations: 3.475 MB / 0.6006 GB, free: 5.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.16, allocations: 44 kB / 0.6006 GB, free: 5.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.0194/1.179, allocations: 7.711 MB / 0.6082 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.179, allocations: 68 kB / 0.6082 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/1.18, allocations: 152 kB / 0.6084 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/1.18, allocations: 224 kB / 0.6086 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/1.186, allocations: 1.501 MB / 0.61 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003273/1.186, allocations: 298.9 kB / 0.6103 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/1.192, allocations: 0.9316 MB / 0.6112 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.193, allocations: 408 kB / 0.6116 GB, free: 9.75 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.00523/1.199, allocations: 2.275 MB / 0.6139 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/1.199, allocations: 315.8 kB / 0.6142 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/1.2, allocations: 427.9 kB / 0.6146 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/1.201, allocations: 35.98 kB / 0.6146 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.201, allocations: 4.469 kB / 0.6146 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.201, allocations: 3.984 kB / 0.6146 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.214, allocations: 5.76 MB / 0.6202 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.214, allocations: 4 kB / 0.6202 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.215, allocations: 212.4 kB / 0.6204 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.352e-05/1.215, allocations: 19.88 kB / 0.6205 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.215, allocations: 31.98 kB / 0.6205 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/1.215, allocations: 12 kB / 0.6205 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.215, allocations: 11.94 kB / 0.6205 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.247/1.462, allocations: 3.224 MB / 0.6237 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/1.463, allocations: 395.1 kB / 0.624 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/1.464, allocations: 24.62 kB / 0.6241 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.465, allocations: 68.03 kB / 0.6241 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/1.466, allocations: 89.31 kB / 0.6242 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.466, allocations: 44.98 kB / 0.6242 GB, free: 108.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004975/1.471, allocations: 2.381 MB / 0.6266 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.048e-06/1.471, allocations: 1.375 kB / 0.6266 GB, free: 108.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006631/1.478, allocations: 1.126 MB / 0.6277 GB, free: 108.4 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.0004002/1.478, allocations: 161.9 kB / 0.6278 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008455/1.486, allocations: 4.444 MB / 0.6322 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.486, allocations: 4.938 kB / 0.6322 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.488, allocations: 0.9608 MB / 0.6331 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.49, allocations: 329.2 kB / 0.6334 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.509, allocations: 10.73 MB / 0.6439 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005099/1.514, allocations: 3.362 MB / 0.6472 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.515, allocations: 280.9 kB / 0.6475 GB, free: 102.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/1.515, allocations: 0 / 0.6475 GB, free: 102.6 MB / 426.7 MB Notification: Performance of Templates: time 0.07789/1.593, allocations: 52.66 MB / 0.6989 GB, free: 72.99 MB / 426.7 MB