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.001118/0.001118, allocations: 84.38 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.001585/0.001585, 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.972/1.972, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4213/0.4213, allocations: 40 MB / 310.4 MB, free: 9.668 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.000555/0.0005551, allocations: 16 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1255, allocations: 57.95 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3032/0.4288, allocations: 59.23 MB / 496 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03063/0.4594, allocations: 14.22 MB / 0.4983 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01995/0.4794, allocations: 307.8 kB / 0.4986 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.4913, allocations: 3.293 MB / 0.5018 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03048/0.5218, allocations: 9.22 MB / 0.5108 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008036/0.5299, allocations: 1.651 MB / 0.5124 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03968/0.5696, allocations: 27.38 MB / 0.5392 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0545/0.6241, allocations: 36.67 MB / 0.575 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00759/0.6318, allocations: 3.597 MB / 0.5785 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.6419, allocations: 5.9 MB / 0.5842 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003279/0.6453, allocations: 0.5234 MB / 0.5848 GB, free: 204 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008085/0.6534, allocations: 1.619 MB / 0.5863 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0117/0.6651, allocations: 6.133 MB / 0.5923 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008002/0.6732, allocations: 3.223 MB / 0.5955 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04298/0.7162, allocations: 27.47 MB / 0.6223 GB, free: 9.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.7163, allocations: 0 / 0.6223 GB, free: 9.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7163, allocations: 0 / 0.6223 GB, free: 9.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001224/0.7175, allocations: 0 / 0.6223 GB, free: 9.66 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.5264/1.244, allocations: 13.25 MB / 0.6352 GB, free: 125.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.244, allocations: 9.281 kB / 0.6352 GB, free: 125.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02026/1.264, allocations: 3.887 MB / 0.639 GB, free: 124.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.281, allocations: 7.854 MB / 0.6467 GB, free: 121.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/1.282, allocations: 1.247 MB / 0.6479 GB, free: 120.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005978/1.288, allocations: 1.656 MB / 0.6495 GB, free: 120.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0992/1.387, allocations: 38.75 MB / 0.6874 GB, free: 103.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001035/1.388, allocations: 124.8 kB / 0.6875 GB, free: 103.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006113/1.394, allocations: 0.7376 MB / 0.6882 GB, free: 102.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/1.4, allocations: 3.963 MB / 0.6921 GB, free: 98.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06171/1.461, allocations: 29.41 MB / 0.7208 GB, free: 69.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7191/2.18, allocations: 123.3 MB / 0.8413 GB, free: 123.8 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03297/2.213, allocations: 13.03 MB / 0.854 GB, free: 123.2 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/2.218, allocations: 3.751 MB / 0.8577 GB, free: 123.1 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/2.229, allocations: 15.19 MB / 0.8725 GB, free: 110.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.297e-05/2.229, allocations: 71.59 kB / 0.8726 GB, free: 110.5 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 8.786e-06/2.229, allocations: 0 / 0.8726 GB, free: 110.5 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.2063/2.436, allocations: 78.67 MB / 0.9494 GB, free: 76.58 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.436, allocations: 209.9 kB / 0.9496 GB, free: 76.33 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02188/2.458, allocations: 10.67 MB / 0.96 GB, free: 65.68 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009488/2.459, allocations: 73.7 kB / 0.9601 GB, free: 65.6 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.008221/2.467, allocations: 11.05 MB / 0.9709 GB, free: 54.57 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/2.469, allocations: 1.357 MB / 0.9722 GB, free: 53.22 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/2.471, allocations: 367.6 kB / 0.9725 GB, free: 52.86 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.002453/2.474, allocations: 1.091 MB / 0.9736 GB, free: 51.77 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01268/2.487, allocations: 6.208 MB / 0.9797 GB, free: 45.55 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/2.506, allocations: 18.7 MB / 0.9979 GB, free: 20.8 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/2.524, allocations: 10.77 MB / 1.008 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008228/2.525, allocations: 128 kB / 1.009 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.05429/2.579, allocations: 23.99 MB / 1.032 GB, free: 2.164 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008567/2.58, allocations: 196 kB / 1.032 GB, free: 1.973 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001202/2.581, allocations: 448.1 kB / 1.033 GB, free: 1.535 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/2.585, allocations: 1.157 MB / 1.034 GB, free: 384 kB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3236/2.909, allocations: 4.427 MB / 1.038 GB, free: 148.1 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/2.915, allocations: 4.675 MB / 1.043 GB, free: 146.8 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0151/2.93, allocations: 1.085 MB / 1.044 GB, free: 146.8 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003684/2.934, allocations: 1.156 MB / 1.045 GB, free: 146.8 MB / 0.5608 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.01819/2.952, allocations: 7.866 MB / 1.052 GB, free: 145.8 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/2.953, allocations: 0.8217 MB / 1.053 GB, free: 145.8 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/2.964, allocations: 6.59 MB / 1.06 GB, free: 143.3 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/2.964, allocations: 35 kB / 1.06 GB, free: 143.3 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/2.964, allocations: 6.672 kB / 1.06 GB, free: 143.3 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/2.964, allocations: 11.62 kB / 1.06 GB, free: 143.3 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05314/3.017, allocations: 21.84 MB / 1.081 GB, free: 135.5 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/3.017, allocations: 4.766 kB / 1.081 GB, free: 135.5 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/3.02, allocations: 0.6137 MB / 1.082 GB, free: 135.5 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/3.022, allocations: 494.2 kB / 1.082 GB, free: 135.4 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/3.022, allocations: 61.3 kB / 1.082 GB, free: 135.4 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/3.026, allocations: 3.236 MB / 1.085 GB, free: 133.4 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/3.026, allocations: 8.125 kB / 1.085 GB, free: 133.4 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/3.04, allocations: 10.74 MB / 1.096 GB, free: 129.3 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004581/3.045, allocations: 1.298 MB / 1.097 GB, free: 128.8 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/3.046, allocations: 59.38 kB / 1.097 GB, free: 128.8 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/3.05, allocations: 379.2 kB / 1.098 GB, free: 128.8 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/3.051, allocations: 183.1 kB / 1.098 GB, free: 128.7 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/3.051, allocations: 99.27 kB / 1.098 GB, free: 128.7 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.01499/3.066, allocations: 6.525 MB / 1.104 GB, free: 126.4 MB / 0.5608 GB Notification: Performance of sort global known variables: time 6.62e-07/3.066, allocations: 2.031 kB / 1.104 GB, free: 126.4 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01802/3.084, allocations: 2.93 MB / 1.107 GB, free: 126 MB / 0.5608 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.001255/3.085, allocations: 251.8 kB / 1.107 GB, free: 125.9 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.02288/3.108, allocations: 13.79 MB / 1.121 GB, free: 120.9 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/3.108, allocations: 4.703 kB / 1.121 GB, free: 120.9 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.005141/3.114, allocations: 3.045 MB / 1.124 GB, free: 119.2 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/3.125, allocations: 1.417 MB / 1.125 GB, free: 118 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06636/3.192, allocations: 35.9 MB / 1.16 GB, free: 84.71 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02497/3.217, allocations: 10.47 MB / 1.17 GB, free: 75.07 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.01645/3.233, allocations: 5.358 MB / 1.176 GB, free: 69.71 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/3.236, allocations: 0.612 MB / 1.176 GB, free: 69.1 MB / 0.5608 GB Notification: Performance of SimCode: time 1.503e-06/3.236, allocations: 0 / 1.176 GB, free: 69.1 MB / 0.5608 GB Notification: Performance of Templates: time 0.509/3.745, allocations: 78.4 MB / 1.253 GB, free: 164.8 MB / 0.5764 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: