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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3105/0.3105, allocations: 38.03 MB / 308.4 MB, free: 10.4 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 23.98 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09799, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2389/0.3369, allocations: 59.24 MB / 493.2 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03022/0.3672, allocations: 14.21 MB / 0.4955 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01543/0.3827, allocations: 310.8 kB / 0.4958 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.3937, allocations: 3.291 MB / 0.499 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02491/0.4186, allocations: 9.224 MB / 0.508 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.4266, allocations: 1.651 MB / 0.5096 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03913/0.4658, allocations: 27.38 MB / 0.5364 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05268/0.5185, allocations: 36.68 MB / 0.5722 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/0.5257, allocations: 3.605 MB / 0.5757 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009898/0.5356, allocations: 5.892 MB / 0.5815 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00227/0.5379, allocations: 0.5234 MB / 0.582 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/0.5429, allocations: 1.627 MB / 0.5836 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009032/0.552, allocations: 6.129 MB / 0.5896 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006467/0.5585, allocations: 3.227 MB / 0.5927 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02792/0.5864, allocations: 27.46 MB / 0.6195 GB, free: 14.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5864, allocations: 0 / 0.6195 GB, free: 14.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5865, allocations: 0 / 0.6195 GB, free: 14.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001031/0.5875, allocations: 4 kB / 0.6195 GB, free: 14.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.03381/0.6213, allocations: 13.25 MB / 0.6325 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6214, allocations: 12.03 kB / 0.6325 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.46/1.081, allocations: 3.881 MB / 0.6363 GB, free: 70.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.095, allocations: 7.847 MB / 0.6439 GB, free: 69.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/1.097, allocations: 1.255 MB / 0.6452 GB, free: 69.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005443/1.102, allocations: 1.651 MB / 0.6468 GB, free: 69.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08424/1.186, allocations: 38.75 MB / 0.6846 GB, free: 64.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001167/1.187, allocations: 119.3 kB / 0.6847 GB, free: 64.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007168/1.195, allocations: 0.7378 MB / 0.6854 GB, free: 64.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005128/1.2, allocations: 3.966 MB / 0.6893 GB, free: 63.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05495/1.255, allocations: 29.4 MB / 0.718 GB, free: 35.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/1.408, allocations: 123.4 MB / 0.8385 GB, free: 7.539 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03496/1.443, allocations: 13.04 MB / 0.8512 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005236/1.448, allocations: 3.748 MB / 0.8549 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.447/1.895, allocations: 15.19 MB / 0.8697 GB, free: 209.5 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.432e-05/1.895, allocations: 63.34 kB / 0.8698 GB, free: 209.5 MB / 0.592 GB Notification: Performance of pre-optimization done (n=274): time 7.374e-06/1.895, allocations: 1.5 kB / 0.8698 GB, free: 209.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=309): time 0.1846/2.08, allocations: 78.66 MB / 0.9466 GB, free: 183.9 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/2.08, allocations: 215.6 kB / 0.9468 GB, free: 183.7 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.093, allocations: 10.66 MB / 0.9572 GB, free: 173 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006624/2.093, allocations: 79.97 kB / 0.9573 GB, free: 172.9 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006528/2.1, allocations: 11.04 MB / 0.9681 GB, free: 161.9 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/2.102, allocations: 1.365 MB / 0.9694 GB, free: 160.6 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/2.103, allocations: 367.6 kB / 0.9698 GB, free: 160.2 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0006566/2.104, allocations: 1.091 MB / 0.9708 GB, free: 159.1 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009001/2.113, allocations: 6.216 MB / 0.9769 GB, free: 152.9 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01547/2.128, allocations: 18.7 MB / 0.9952 GB, free: 127.9 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/2.142, allocations: 10.77 MB / 1.006 GB, free: 117.2 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003433/2.143, allocations: 128 kB / 1.006 GB, free: 117 MB / 0.592 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.04033/2.183, allocations: 23.99 MB / 1.029 GB, free: 93 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/2.183, allocations: 200.2 kB / 1.029 GB, free: 92.81 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004976/2.184, allocations: 449.7 kB / 1.03 GB, free: 92.37 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/2.186, allocations: 1.152 MB / 1.031 GB, free: 91.21 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/2.198, allocations: 4.429 MB / 1.035 GB, free: 86.78 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/2.203, allocations: 4.676 MB / 1.04 GB, free: 81.98 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/2.215, allocations: 1.079 MB / 1.041 GB, free: 80.9 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003129/2.218, allocations: 1.159 MB / 1.042 GB, free: 79.74 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (2325): * Single equations (assignments): 2317 * 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 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0137/2.232, allocations: 7.863 MB / 1.05 GB, free: 71.86 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/2.233, allocations: 0.8251 MB / 1.051 GB, free: 71.02 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009787/2.243, allocations: 6.589 MB / 1.057 GB, free: 64.38 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/2.243, allocations: 36 kB / 1.057 GB, free: 64.35 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/2.243, allocations: 5.969 kB / 1.057 GB, free: 64.34 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/2.243, allocations: 15.95 kB / 1.057 GB, free: 64.33 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04332/2.287, allocations: 21.84 MB / 1.078 GB, free: 42.39 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/2.287, allocations: 4 kB / 1.078 GB, free: 42.39 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/2.289, allocations: 0.6086 MB / 1.079 GB, free: 41.78 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/2.29, allocations: 0.4884 MB / 1.079 GB, free: 41.29 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/2.291, allocations: 67.77 kB / 1.079 GB, free: 41.22 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/2.294, allocations: 3.239 MB / 1.083 GB, free: 37.85 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.294, allocations: 4 kB / 1.083 GB, free: 37.85 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3209/2.615, allocations: 10.73 MB / 1.093 GB, free: 185.6 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003497/2.618, allocations: 1.296 MB / 1.094 GB, free: 185.3 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.62, allocations: 51.78 kB / 1.094 GB, free: 185.3 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003526/2.623, allocations: 385.7 kB / 1.095 GB, free: 185.3 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/2.624, allocations: 181.1 kB / 1.095 GB, free: 185.3 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/2.624, allocations: 96.27 kB / 1.095 GB, free: 185.2 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01228/2.636, allocations: 6.532 MB / 1.101 GB, free: 182.9 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.11e-07/2.636, allocations: 0.875 kB / 1.101 GB, free: 182.9 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01769/2.654, allocations: 2.927 MB / 1.104 GB, free: 182.6 MB / 0.592 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 () * Number of clocked 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.001502/2.655, allocations: 259.9 kB / 1.105 GB, free: 182.5 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.02544/2.681, allocations: 13.79 MB / 1.118 GB, free: 177.6 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.681, allocations: 1.969 kB / 1.118 GB, free: 177.6 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.004806/2.686, allocations: 3.053 MB / 1.121 GB, free: 176.4 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008049/2.694, allocations: 1.397 MB / 1.122 GB, free: 175.8 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06403/2.758, allocations: 35.9 MB / 1.157 GB, free: 157 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02041/2.778, allocations: 10.47 MB / 1.168 GB, free: 153.2 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.01478/2.793, allocations: 5.359 MB / 1.173 GB, free: 152.7 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002359/2.796, allocations: 0.6032 MB / 1.173 GB, free: 152.6 MB / 0.592 GB Notification: Performance of SimCode: time 1.222e-06/2.796, allocations: 0 / 1.173 GB, free: 152.6 MB / 0.592 GB Notification: Performance of Templates: time 0.1392/2.935, allocations: 78.43 MB / 1.25 GB, free: 80.62 MB / 0.592 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: