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.001256/0.001256, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001389/0.00139, allocations: 177.3 kB / 15.94 MB, free: 228 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.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3385/0.3385, allocations: 40 MB / 310.4 MB, free: 10.01 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.0005657/0.0005659, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 57.96 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3236/0.4752, allocations: 55.8 MB / 492.6 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03679/0.512, allocations: 14.81 MB / 0.4955 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01884/0.5309, allocations: 308.5 kB / 0.4958 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01392/0.5449, allocations: 2.998 MB / 0.4987 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02957/0.5745, allocations: 7.281 MB / 0.5058 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008393/0.5829, allocations: 1.637 MB / 0.5074 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03494/0.6179, allocations: 16.77 MB / 0.5238 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05957/0.6775, allocations: 36.39 MB / 0.5593 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007409/0.685, allocations: 2.73 MB / 0.562 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008145/0.6932, allocations: 3.632 MB / 0.5655 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003401/0.6966, allocations: 0.5273 MB / 0.5661 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.703, allocations: 1.588 MB / 0.5676 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01015/0.7132, allocations: 5.666 MB / 0.5731 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007009/0.7202, allocations: 3.231 MB / 0.5763 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03804/0.7583, allocations: 27.61 MB / 0.6033 GB, free: 13.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7584, allocations: 11.94 kB / 0.6033 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7584, allocations: 0 / 0.6033 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00135/0.7597, allocations: 0 / 0.6033 GB, free: 13.05 MB / 478.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.04279/0.8025, allocations: 13.42 MB / 0.6164 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.8026, allocations: 12.03 kB / 0.6164 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09272/0.8953, allocations: 9.71 MB / 0.6259 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4877/1.383, allocations: 8.051 MB / 0.6337 GB, free: 121.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001727/1.385, allocations: 1.25 MB / 0.635 GB, free: 121.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006794/1.392, allocations: 1.655 MB / 0.6366 GB, free: 121.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09942/1.491, allocations: 38.99 MB / 0.6746 GB, free: 105.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009999/1.492, allocations: 118.1 kB / 0.6748 GB, free: 105.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006204/1.498, allocations: 0.7389 MB / 0.6755 GB, free: 104.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006787/1.505, allocations: 3.964 MB / 0.6794 GB, free: 103.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06984/1.575, allocations: 29.72 MB / 0.7084 GB, free: 81.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1765/1.752, allocations: 123.4 MB / 0.8289 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5664/2.318, allocations: 12.99 MB / 0.8416 GB, free: 150 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/2.329, allocations: 15.25 MB / 0.8565 GB, free: 137.4 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/2.329, allocations: 71.12 kB / 0.8565 GB, free: 137.4 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 9.658e-06/2.329, allocations: 0 / 0.8565 GB, free: 137.4 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.2258/2.555, allocations: 78.4 MB / 0.9331 GB, free: 102.5 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/2.555, allocations: 214 kB / 0.9333 GB, free: 102.2 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.023/2.578, allocations: 10.8 MB / 0.9439 GB, free: 91.43 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008404/2.579, allocations: 77.7 kB / 0.9439 GB, free: 91.35 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.007932/2.587, allocations: 11.05 MB / 0.9547 GB, free: 80.31 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.589, allocations: 1.362 MB / 0.9561 GB, free: 78.96 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002701/2.592, allocations: 360 kB / 0.9564 GB, free: 78.61 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.002409/2.594, allocations: 1.083 MB / 0.9575 GB, free: 77.52 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/2.605, allocations: 6.106 MB / 0.9634 GB, free: 71.4 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01625/2.621, allocations: 18.51 MB / 0.9815 GB, free: 46.65 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/2.636, allocations: 10.64 MB / 0.9919 GB, free: 36.01 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003434/2.636, allocations: 132 kB / 0.992 GB, free: 35.88 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.04686/2.683, allocations: 23.5 MB / 1.015 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003111/2.684, allocations: 200 kB / 1.015 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005111/2.684, allocations: 448 kB / 1.016 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/2.686, allocations: 0.9033 MB / 1.016 GB, free: 10.85 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/2.7, allocations: 4.394 MB / 1.021 GB, free: 6.445 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/2.705, allocations: 3.998 MB / 1.025 GB, free: 2.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/2.72, allocations: 1.066 MB / 1.026 GB, free: 1.254 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003882/2.724, allocations: 1.157 MB / 1.027 GB, free: 104 kB / 0.5295 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 (2306): * Single equations (assignments): 2298 * 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.3652/3.089, allocations: 7.859 MB / 1.035 GB, free: 134.2 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/3.091, allocations: 0.8248 MB / 1.035 GB, free: 134.2 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/3.101, allocations: 6.222 MB / 1.041 GB, free: 133.7 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.442e-05/3.101, allocations: 38.95 kB / 1.041 GB, free: 133.7 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/3.101, allocations: 4.469 kB / 1.041 GB, free: 133.7 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/3.101, allocations: 13.27 kB / 1.041 GB, free: 133.7 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05596/3.157, allocations: 21.37 MB / 1.062 GB, free: 125.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/3.157, allocations: 7.641 kB / 1.062 GB, free: 125.9 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/3.16, allocations: 0.6089 MB / 1.063 GB, free: 125.9 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/3.161, allocations: 241 kB / 1.063 GB, free: 125.8 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/3.162, allocations: 59.16 kB / 1.063 GB, free: 125.8 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/3.165, allocations: 2.58 MB / 1.066 GB, free: 124 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/3.165, allocations: 4.219 kB / 1.066 GB, free: 124 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/3.182, allocations: 11.21 MB / 1.077 GB, free: 118.9 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005483/3.188, allocations: 1.295 MB / 1.078 GB, free: 118.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00266/3.19, allocations: 56.81 kB / 1.078 GB, free: 118.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/3.195, allocations: 374.5 kB / 1.078 GB, free: 118.5 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/3.196, allocations: 179.1 kB / 1.079 GB, free: 118.4 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002882/3.196, allocations: 98.7 kB / 1.079 GB, free: 118.4 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01834/3.215, allocations: 6.64 MB / 1.085 GB, free: 116.1 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.713e-06/3.215, allocations: 1.469 kB / 1.085 GB, free: 116.1 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.02351/3.238, allocations: 2.92 MB / 1.088 GB, free: 115.7 MB / 0.5452 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.001409/3.24, allocations: 269.7 kB / 1.088 GB, free: 115.6 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.02293/3.263, allocations: 13.58 MB / 1.101 GB, free: 110.7 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/3.263, allocations: 4.156 kB / 1.101 GB, free: 110.7 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/3.267, allocations: 2.962 MB / 1.104 GB, free: 109.6 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007612/3.275, allocations: 1.375 MB / 1.106 GB, free: 109 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07096/3.346, allocations: 35.64 MB / 1.141 GB, free: 83.38 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02/3.366, allocations: 10.76 MB / 1.151 GB, free: 75.39 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01429/3.381, allocations: 5.359 MB / 1.156 GB, free: 71.98 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/3.383, allocations: 0.6109 MB / 1.157 GB, free: 71.39 MB / 0.5452 GB Notification: Performance of SimCode: time 2.455e-06/3.383, allocations: 0 / 1.157 GB, free: 71.39 MB / 0.5452 GB Notification: Performance of Templates: time 0.1543/3.537, allocations: 78.06 MB / 1.233 GB, free: 10.36 MB / 0.5608 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: