Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00134/0.00134, allocations: 168.9 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.189/1.189, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00171/0.00171, allocations: 99.5 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1579/0.1579, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.72e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08469, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4274, allocations: 97.81 MB / 0.4917 GB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4278, allocations: 74.53 kB / 0.4918 GB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7805/1.208, allocations: 234.9 MB / 0.7212 GB, free: 48.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/1.208, allocations: 0 / 0.7212 GB, free: 48.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005375/1.209, allocations: 377.3 kB / 0.7216 GB, free: 48.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.038/1.247, allocations: 13.13 MB / 0.7344 GB, free: 37.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.247, allocations: 8.031 kB / 0.7344 GB, free: 37.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/1.27, allocations: 5.811 MB / 0.7401 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.295, allocations: 10.5 MB / 0.7503 GB, free: 21.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/1.296, allocations: 1.473 MB / 0.7518 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007105/1.304, allocations: 1.951 MB / 0.7537 GB, free: 17.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3955/1.699, allocations: 41.21 MB / 0.7939 GB, free: 40.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001855/1.701, allocations: 198 kB / 0.7941 GB, free: 40.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009234/1.71, allocations: 0.9067 MB / 0.795 GB, free: 40.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00492/1.715, allocations: 2.044 MB / 0.797 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06832/1.783, allocations: 29.84 MB / 0.8261 GB, free: 40.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4792/2.263, allocations: 165.2 MB / 0.9874 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03716/2.3, allocations: 13.25 MB / 1 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/2.304, allocations: 3.61 MB / 1.004 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009561/2.314, allocations: 15.27 MB / 1.019 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.132e-05/2.314, allocations: 70.44 kB / 1.019 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=274): time 7.133e-06/2.314, allocations: 0 / 1.019 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309): time 0.1993/2.513, allocations: 75.09 MB / 1.092 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/2.513, allocations: 208.5 kB / 1.092 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/2.529, allocations: 9.436 MB / 1.102 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006909/2.53, allocations: 73.73 kB / 1.102 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00622/2.536, allocations: 11.07 MB / 1.113 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/2.538, allocations: 1.362 MB / 1.114 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001496/2.539, allocations: 359.2 kB / 1.114 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008517/2.54, allocations: 1.077 MB / 1.115 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008444/2.548, allocations: 5.953 MB / 1.121 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01598/2.565, allocations: 18.36 MB / 1.139 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/2.579, allocations: 10.63 MB / 1.149 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004264/2.58, allocations: 128 kB / 1.149 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.3795/2.959, allocations: 23.13 MB / 1.172 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/2.96, allocations: 199.2 kB / 1.172 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007918/2.96, allocations: 444.4 kB / 1.173 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/2.962, allocations: 0.8268 MB / 1.173 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/2.977, allocations: 4.463 MB / 1.178 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/2.982, allocations: 3.588 MB / 1.181 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/2.996, allocations: 1.129 MB / 1.182 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005189/3.002, allocations: 1.156 MB / 1.184 GB, free: 105.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2037 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2304): * Single equations (assignments): 2296 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005269/3.007, allocations: 1.514 MB / 1.185 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/3.009, allocations: 0.8199 MB / 1.186 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009619/3.018, allocations: 6.066 MB / 1.192 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.246e-05/3.018, allocations: 32.94 kB / 1.192 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/3.018, allocations: 6.188 kB / 1.192 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/3.018, allocations: 20.14 kB / 1.192 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04781/3.066, allocations: 21.1 MB / 1.212 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/3.066, allocations: 3.125 kB / 1.212 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/3.069, allocations: 0.6846 MB / 1.213 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/3.07, allocations: 159.6 kB / 1.213 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/3.07, allocations: 62.36 kB / 1.213 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/3.072, allocations: 2.154 MB / 1.215 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/3.072, allocations: 10 kB / 1.215 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/3.083, allocations: 11.03 MB / 1.226 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/3.087, allocations: 1.292 MB / 1.227 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/3.089, allocations: 54.25 kB / 1.228 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004413/3.093, allocations: 432.1 kB / 1.228 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/3.094, allocations: 182.3 kB / 1.228 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/3.094, allocations: 98.34 kB / 1.228 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01412/3.108, allocations: 6.427 MB / 1.234 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.033e-06/3.108, allocations: 7 kB / 1.234 GB, free: 94.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01942/3.128, allocations: 2.898 MB / 1.237 GB, free: 94.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/3.129, allocations: 261.8 kB / 1.238 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02028/3.149, allocations: 13.37 MB / 1.251 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/3.149, allocations: 2.875 kB / 1.251 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003912/3.153, allocations: 2.893 MB / 1.253 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007078/3.16, allocations: 1.366 MB / 1.255 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0558/3.216, allocations: 24.12 MB / 1.278 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03046/3.247, allocations: 10.77 MB / 1.289 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01903/3.266, allocations: 5.391 MB / 1.294 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003105/3.269, allocations: 0.6068 MB / 1.295 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/3.269, allocations: 4 kB / 1.295 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.4876/3.757, allocations: 77.72 MB / 1.371 GB, free: 99.73 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)