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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01425/0.01425, allocations: 102.2 kB / 15.73 MB, free: 5.992 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.002201/0.002201, allocations: 196 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3956/0.3956, allocations: 39.94 MB / 309.8 MB, free: 9.645 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.2. 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.002058/0.002058, allocations: 63.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3383, allocations: 56.87 MB / 492.6 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02632/0.3647, allocations: 23.85 MB / 0.5044 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.3904, allocations: 8.102 MB / 0.5123 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/0.4021, allocations: 192.5 kB / 0.5125 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05171/0.4539, allocations: 22.03 MB / 0.534 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.471, allocations: 3.7 MB / 0.5376 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.4857, allocations: 3.992 MB / 0.5415 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01935/0.5051, allocations: 9.727 MB / 0.551 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05457/0.5597, allocations: 32.14 MB / 0.5824 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01548/0.5753, allocations: 7.048 MB / 0.5893 GB, free: 1.207 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01709/0.5924, allocations: 8.9 MB / 0.598 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006856/0.5993, allocations: 2.25 MB / 0.6002 GB, free: 6.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.6097, allocations: 3.486 MB / 0.6036 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01646/0.6262, allocations: 8.51 MB / 0.6119 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0225/0.6488, allocations: 9.811 MB / 0.6215 GB, free: 168 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6011/1.25, allocations: 33.4 MB / 0.6541 GB, free: 62.59 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/1.25, allocations: 1.906 kB / 0.6541 GB, free: 62.59 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.985e-06/1.25, allocations: 0 / 0.6541 GB, free: 62.59 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001695/1.252, allocations: 0 / 0.6541 GB, free: 62.59 MB / 0.4982 GB 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.07875/1.33, allocations: 17 MB / 0.6707 GB, free: 55.84 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.331, allocations: 12.27 kB / 0.6707 GB, free: 55.84 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02915/1.36, allocations: 3.829 MB / 0.6744 GB, free: 54.01 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0314/1.391, allocations: 7.974 MB / 0.6822 GB, free: 50.77 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/1.393, allocations: 1.253 MB / 0.6834 GB, free: 50.24 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01085/1.403, allocations: 1.651 MB / 0.6851 GB, free: 49.73 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1087/1.512, allocations: 36.8 MB / 0.721 GB, free: 21.7 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001345/1.514, allocations: 127.8 kB / 0.7211 GB, free: 21.63 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009812/1.523, allocations: 0.744 MB / 0.7218 GB, free: 20.95 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005264/1.529, allocations: 3.933 MB / 0.7257 GB, free: 17.07 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07235/1.601, allocations: 27.49 MB / 0.7525 GB, free: 6.051 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2049/1.806, allocations: 122 MB / 0.8717 GB, free: 11.2 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02526/1.831, allocations: 8.157 MB / 0.8796 GB, free: 2.898 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4152/2.247, allocations: 3.631 MB / 0.8832 GB, free: 237.8 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01408/2.261, allocations: 14.68 MB / 0.8975 GB, free: 225.6 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/2.261, allocations: 68.69 kB / 0.8976 GB, free: 225.5 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=274): time 8.796e-06/2.261, allocations: 1.094 kB / 0.8976 GB, free: 225.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=309): time 0.2292/2.49, allocations: 51.45 MB / 0.9478 GB, free: 202.3 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.49, allocations: 209.9 kB / 0.948 GB, free: 202 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02055/2.511, allocations: 10.71 MB / 0.9585 GB, free: 192.5 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0008371/2.512, allocations: 77.7 kB / 0.9586 GB, free: 192.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.006348/2.518, allocations: 11.04 MB / 0.9693 GB, free: 181.4 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/2.52, allocations: 1.358 MB / 0.9707 GB, free: 180.1 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009568/2.53, allocations: 3.835 MB / 0.9744 GB, free: 176.2 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/2.53, allocations: 301.1 kB / 0.9747 GB, free: 175.9 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009055/2.539, allocations: 6.001 MB / 0.9806 GB, free: 169.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/2.553, allocations: 18.5 MB / 0.9986 GB, free: 145.2 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02351/2.577, allocations: 26.44 MB / 1.024 GB, free: 112.4 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003808/2.577, allocations: 132 kB / 1.025 GB, free: 112.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.0398/2.617, allocations: 23.57 MB / 1.048 GB, free: 88.68 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002426/2.617, allocations: 200 kB / 1.048 GB, free: 88.49 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004938/2.618, allocations: 444 kB / 1.048 GB, free: 88.05 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/2.62, allocations: 1.094 MB / 1.049 GB, free: 86.96 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/2.633, allocations: 4.38 MB / 1.054 GB, free: 82.57 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/2.639, allocations: 4.977 MB / 1.058 GB, free: 77.45 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/2.652, allocations: 1.026 MB / 1.059 GB, free: 76.43 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003011/2.655, allocations: 1.156 MB / 1.061 GB, free: 75.27 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01473/2.669, allocations: 7.865 MB / 1.068 GB, free: 67.39 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/2.671, allocations: 0.829 MB / 1.069 GB, free: 66.55 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/2.682, allocations: 5.968 MB / 1.075 GB, free: 60.53 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/2.682, allocations: 32 kB / 1.075 GB, free: 60.5 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/2.682, allocations: 4 kB / 1.075 GB, free: 60.5 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-05/2.682, allocations: 19.88 kB / 1.075 GB, free: 60.48 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05089/2.733, allocations: 20.3 MB / 1.095 GB, free: 40.05 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/2.733, allocations: 4 kB / 1.095 GB, free: 40.05 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/2.736, allocations: 0.5749 MB / 1.095 GB, free: 39.47 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/2.737, allocations: 492.6 kB / 1.096 GB, free: 38.99 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004154/2.737, allocations: 71.59 kB / 1.096 GB, free: 38.92 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/2.741, allocations: 3.456 MB / 1.099 GB, free: 35.33 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.741, allocations: 11.94 kB / 1.099 GB, free: 35.32 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/2.752, allocations: 9.8 MB / 1.109 GB, free: 25.38 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003786/2.756, allocations: 1.24 MB / 1.11 GB, free: 24.11 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.758, allocations: 47.98 kB / 1.11 GB, free: 24.06 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004383/2.762, allocations: 299.6 kB / 1.11 GB, free: 23.77 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/2.763, allocations: 189.6 kB / 1.111 GB, free: 23.58 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/2.763, allocations: 103.5 kB / 1.111 GB, free: 23.48 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.3253/3.089, allocations: 6.578 MB / 1.117 GB, free: 205.3 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6.31e-07/3.089, allocations: 0 / 1.117 GB, free: 205.3 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01799/3.107, allocations: 2.885 MB / 1.12 GB, free: 205.3 MB / 0.6388 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/3.108, allocations: 273 kB / 1.12 GB, free: 205.2 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02235/3.13, allocations: 13.35 MB / 1.133 GB, free: 200.7 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/3.13, allocations: 7.781 kB / 1.133 GB, free: 200.7 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/3.134, allocations: 2.8 MB / 1.136 GB, free: 199.6 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0099/3.144, allocations: 1.534 MB / 1.137 GB, free: 199 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06178/3.206, allocations: 28.9 MB / 1.166 GB, free: 184.2 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02092/3.227, allocations: 10.46 MB / 1.176 GB, free: 176.2 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01502/3.242, allocations: 5.31 MB / 1.181 GB, free: 172.9 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002714/3.245, allocations: 0.6017 MB / 1.182 GB, free: 172.3 MB / 0.6388 GB Notification: Performance of SimCode: time 1.002e-06/3.245, allocations: 4 kB / 1.182 GB, free: 172.3 MB / 0.6388 GB Notification: Performance of Templates: time 0.1606/3.405, allocations: 84.82 MB / 1.264 GB, free: 90.79 MB / 0.6388 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)