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.006543/0.006543, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001319/0.001319, allocations: 199.1 kB / 16.67 MB, free: 5.523 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2114/0.2114, allocations: 39.96 MB / 309.9 MB, free: 4.023 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.00158/0.00158, allocations: 75.83 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 56.87 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02475/0.1386, allocations: 23.84 MB / 0.5044 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.1568, allocations: 8.087 MB / 0.5123 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006456/0.1633, allocations: 199.6 kB / 0.5125 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3107/0.4741, allocations: 22.02 MB / 0.534 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.4864, allocations: 3.701 MB / 0.5376 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00851/0.4949, allocations: 4 MB / 0.5415 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0183/0.5132, allocations: 9.727 MB / 0.551 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05281/0.5661, allocations: 32.15 MB / 0.5824 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01572/0.5819, allocations: 7.026 MB / 0.5893 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.598, allocations: 8.891 MB / 0.5979 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006612/0.6047, allocations: 2.246 MB / 0.6001 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.6159, allocations: 3.482 MB / 0.6035 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01228/0.6282, allocations: 8.499 MB / 0.6118 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01927/0.6475, allocations: 9.819 MB / 0.6214 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03742/0.685, allocations: 33.4 MB / 0.654 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.685, allocations: 0 / 0.654 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.857e-06/0.685, allocations: 0 / 0.654 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001055/0.6861, allocations: 3.938 kB / 0.654 GB, free: 6.359 MB / 0.4981 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.05267/0.7388, allocations: 16.99 MB / 0.6706 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.7388, allocations: 11.89 kB / 0.6706 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/0.7629, allocations: 3.822 MB / 0.6744 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02258/0.7856, allocations: 7.978 MB / 0.6822 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/0.787, allocations: 1.254 MB / 0.6834 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006522/0.7935, allocations: 1.651 MB / 0.685 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08849/0.882, allocations: 36.8 MB / 0.7209 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009624/0.883, allocations: 118.8 kB / 0.7211 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007615/0.8907, allocations: 0.744 MB / 0.7218 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006544/0.8972, allocations: 3.94 MB / 0.7256 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5677/1.465, allocations: 27.48 MB / 0.7525 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1601/1.625, allocations: 122 MB / 0.8716 GB, free: 60.53 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/1.648, allocations: 8.156 MB / 0.8796 GB, free: 52.21 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004197/1.652, allocations: 3.636 MB / 0.8831 GB, free: 48.57 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008844/1.661, allocations: 14.67 MB / 0.8975 GB, free: 31.56 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/1.661, allocations: 68.56 kB / 0.8975 GB, free: 31.48 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=274): time 9.618e-06/1.661, allocations: 4 kB / 0.8975 GB, free: 31.48 MB / 0.5763 GB Notification: Performance of matching and sorting (n=309): time 0.1368/1.798, allocations: 51.44 MB / 0.9478 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.798, allocations: 213.8 kB / 0.948 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/1.82, allocations: 10.72 MB / 0.9584 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008491/1.821, allocations: 73.7 kB / 0.9585 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.009333/1.83, allocations: 11.04 MB / 0.9693 GB, free: 5.801 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/1.832, allocations: 1.358 MB / 0.9706 GB, free: 4.453 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006528/1.839, allocations: 3.838 MB / 0.9744 GB, free: 0.6016 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.839, allocations: 309.1 kB / 0.9747 GB, free: 304 kB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5974/2.437, allocations: 5.998 MB / 0.9805 GB, free: 205.3 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02313/2.46, allocations: 18.49 MB / 0.9986 GB, free: 185.9 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03281/2.493, allocations: 26.44 MB / 1.024 GB, free: 161.7 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001029/2.494, allocations: 125.6 kB / 1.025 GB, free: 161.7 MB / 0.6233 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.05004/2.544, allocations: 23.57 MB / 1.048 GB, free: 152.7 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.000465/2.544, allocations: 199.2 kB / 1.048 GB, free: 152.7 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000962/2.545, allocations: 444.8 kB / 1.048 GB, free: 152.7 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/2.547, allocations: 1.098 MB / 1.049 GB, free: 152.6 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/2.563, allocations: 4.376 MB / 1.054 GB, free: 148.9 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/2.568, allocations: 4.979 MB / 1.058 GB, free: 144.4 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01582/2.584, allocations: 1.026 MB / 1.059 GB, free: 143.6 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003838/2.588, allocations: 1.156 MB / 1.06 GB, free: 142.4 MB / 0.6233 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.01703/2.605, allocations: 7.873 MB / 1.068 GB, free: 135.4 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002259/2.607, allocations: 0.8241 MB / 1.069 GB, free: 135.1 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/2.618, allocations: 5.964 MB / 1.075 GB, free: 130 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.94e-05/2.618, allocations: 39.94 kB / 1.075 GB, free: 130 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/2.618, allocations: 4 kB / 1.075 GB, free: 130 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/2.618, allocations: 13.64 kB / 1.075 GB, free: 130 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04728/2.665, allocations: 20.32 MB / 1.095 GB, free: 112.4 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/2.665, allocations: 4.656 kB / 1.095 GB, free: 112.4 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/2.668, allocations: 0.5695 MB / 1.095 GB, free: 111.8 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/2.669, allocations: 0.4917 MB / 1.096 GB, free: 111.3 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/2.669, allocations: 63.75 kB / 1.096 GB, free: 111.3 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/2.673, allocations: 3.46 MB / 1.099 GB, free: 107.7 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.673, allocations: 4 kB / 1.099 GB, free: 107.7 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/2.684, allocations: 9.812 MB / 1.109 GB, free: 98.14 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004016/2.688, allocations: 1.224 MB / 1.11 GB, free: 96.88 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/2.69, allocations: 55.98 kB / 1.11 GB, free: 96.83 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005255/2.696, allocations: 303.2 kB / 1.11 GB, free: 96.54 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007549/2.696, allocations: 174.1 kB / 1.11 GB, free: 96.36 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/2.697, allocations: 99.98 kB / 1.111 GB, free: 96.27 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.01478/2.712, allocations: 6.584 MB / 1.117 GB, free: 89.71 MB / 0.6233 GB Notification: Performance of sort global known variables: time 5.71e-07/2.712, allocations: 0 / 1.117 GB, free: 89.71 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.02007/2.732, allocations: 2.892 MB / 1.12 GB, free: 86.83 MB / 0.6233 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.0009769/2.733, allocations: 274.9 kB / 1.12 GB, free: 86.56 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.01994/2.753, allocations: 13.35 MB / 1.133 GB, free: 73.29 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/2.753, allocations: 448 / 1.133 GB, free: 73.29 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.003713/2.756, allocations: 2.79 MB / 1.136 GB, free: 70.48 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007554/2.764, allocations: 1.558 MB / 1.137 GB, free: 68.99 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05823/2.822, allocations: 28.89 MB / 1.166 GB, free: 40.02 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02528/2.848, allocations: 10.46 MB / 1.176 GB, free: 29.52 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.01533/2.863, allocations: 5.313 MB / 1.181 GB, free: 24.2 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/2.866, allocations: 0.601 MB / 1.182 GB, free: 23.59 MB / 0.6233 GB Notification: Performance of SimCode: time 1.232e-06/2.866, allocations: 0 / 1.182 GB, free: 23.59 MB / 0.6233 GB Notification: Performance of Templates: time 0.531/3.397, allocations: 87.55 MB / 1.267 GB, free: 171.6 MB / 0.6389 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)