Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007524/0.007524, allocations: 175.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.465/1.465, allocations: 194.5 MB / 210.3 MB, free: 7.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 120.6 kB / 255.6 MB, free: 10.17 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1812/0.1812, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 10.62 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.6098, allocations: 104.7 MB / 0.5525 GB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6101, allocations: 80.97 kB / 0.5526 GB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.762/1.372, allocations: 234.6 MB / 0.7817 GB, free: 57.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.757e-06/1.372, allocations: 0 / 0.7817 GB, free: 57.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006906/1.373, allocations: 369.1 kB / 0.782 GB, free: 57.6 MB / 490.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.05153/1.424, allocations: 13.5 MB / 0.7952 GB, free: 52.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.424, allocations: 10.56 kB / 0.7952 GB, free: 52.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02524/1.45, allocations: 5.815 MB / 0.8009 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.478, allocations: 10.53 MB / 0.8112 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/1.479, allocations: 1.48 MB / 0.8126 GB, free: 50.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009082/1.488, allocations: 1.94 MB / 0.8145 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1066/1.595, allocations: 41.56 MB / 0.8551 GB, free: 24.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001485/1.596, allocations: 194.2 kB / 0.8553 GB, free: 23.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008261/1.605, allocations: 0.9033 MB / 0.8562 GB, free: 23.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/1.607, allocations: 2.047 MB / 0.8582 GB, free: 21.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07058/1.678, allocations: 30.25 MB / 0.8877 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5667/2.245, allocations: 165.2 MB / 1.049 GB, free: 33.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03496/2.28, allocations: 13.33 MB / 1.062 GB, free: 30.76 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/2.292, allocations: 15.28 MB / 1.077 GB, free: 17.64 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/2.292, allocations: 75.98 kB / 1.077 GB, free: 17.58 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 1.409e-05/2.292, allocations: 0 / 1.077 GB, free: 17.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.5864/2.879, allocations: 79.46 MB / 1.155 GB, free: 146.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/2.879, allocations: 213.8 kB / 1.155 GB, free: 146.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02211/2.901, allocations: 9.514 MB / 1.164 GB, free: 145.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009731/2.902, allocations: 72.52 kB / 1.164 GB, free: 145.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01058/2.913, allocations: 11.07 MB / 1.175 GB, free: 138.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00262/2.915, allocations: 1.35 MB / 1.176 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002907/2.918, allocations: 369 kB / 1.177 GB, free: 137.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002168/2.92, allocations: 1.077 MB / 1.178 GB, free: 137.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01146/2.932, allocations: 6.094 MB / 1.184 GB, free: 137.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02138/2.953, allocations: 18.5 MB / 1.202 GB, free: 121 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/2.973, allocations: 10.64 MB / 1.212 GB, free: 120.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000984/2.974, allocations: 129.2 kB / 1.212 GB, free: 120.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05015/3.024, allocations: 23.43 MB / 1.235 GB, free: 111.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/3.025, allocations: 199.3 kB / 1.235 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008842/3.026, allocations: 444.7 kB / 1.236 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/3.027, allocations: 0.8186 MB / 1.237 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/3.042, allocations: 4.459 MB / 1.241 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/3.047, allocations: 3.645 MB / 1.244 GB, free: 108.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01837/3.065, allocations: 1.131 MB / 1.246 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004869/3.07, allocations: 1.156 MB / 1.247 GB, free: 108.3 MB / 0.573 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 () * Number of clocked 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.01967/3.09, allocations: 7.85 MB / 1.254 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/3.092, allocations: 0.8265 MB / 1.255 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/3.102, allocations: 6.154 MB / 1.261 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/3.102, allocations: 40.3 kB / 1.261 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/3.102, allocations: 0 / 1.261 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/3.102, allocations: 17.77 kB / 1.261 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0524/3.155, allocations: 21.19 MB / 1.282 GB, free: 85.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/3.155, allocations: 4.031 kB / 1.282 GB, free: 85.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/3.157, allocations: 0.6813 MB / 1.283 GB, free: 84.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/3.158, allocations: 163.8 kB / 1.283 GB, free: 84.53 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/3.158, allocations: 59.94 kB / 1.283 GB, free: 84.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/3.16, allocations: 2.206 MB / 1.285 GB, free: 82.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/3.16, allocations: 4 kB / 1.285 GB, free: 82.32 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/3.172, allocations: 11.17 MB / 1.296 GB, free: 72.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004654/3.177, allocations: 1.283 MB / 1.297 GB, free: 70.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/3.179, allocations: 52.06 kB / 1.297 GB, free: 70.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005228/3.185, allocations: 434.7 kB / 1.298 GB, free: 70.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/3.185, allocations: 182.3 kB / 1.298 GB, free: 70.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/3.186, allocations: 103.5 kB / 1.298 GB, free: 70.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01367/3.199, allocations: 6.512 MB / 1.304 GB, free: 64.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/3.199, allocations: 0 / 1.304 GB, free: 64.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0248/3.224, allocations: 2.897 MB / 1.307 GB, free: 62.1 MB / 0.573 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.00139/3.226, allocations: 259.3 kB / 1.307 GB, free: 61.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02227/3.248, allocations: 13.57 MB / 1.321 GB, free: 49.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/3.248, allocations: 4.438 kB / 1.321 GB, free: 49.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003671/3.252, allocations: 2.933 MB / 1.323 GB, free: 47.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007198/3.259, allocations: 1.371 MB / 1.325 GB, free: 46.21 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.416/3.675, allocations: 35.78 MB / 1.36 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03662/3.712, allocations: 10.76 MB / 1.37 GB, free: 115.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02024/3.732, allocations: 5.396 MB / 1.375 GB, free: 114.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003859/3.736, allocations: 0.6114 MB / 1.376 GB, free: 114.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.874e-06/3.736, allocations: 0 / 1.376 GB, free: 114.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1752/3.911, allocations: 77.69 MB / 1.452 GB, free: 97.19 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)