Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001309/0.001309, allocations: 100 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.001421/0.001421, allocations: 177.3 kB / 15.95 MB, free: 216 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.721/1.721, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4027/0.4027, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.1. 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.0006588/0.000659, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1458, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2764/0.4222, allocations: 55.8 MB / 489.7 MB, free: 21.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03391/0.4561, allocations: 14.82 MB / 0.4927 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01609/0.4723, allocations: 305.9 kB / 0.493 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.4844, allocations: 3.001 MB / 0.4959 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02883/0.5133, allocations: 7.277 MB / 0.503 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00817/0.5215, allocations: 1.637 MB / 0.5046 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03404/0.5556, allocations: 16.77 MB / 0.521 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0553/0.6109, allocations: 36.4 MB / 0.5566 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.6173, allocations: 2.73 MB / 0.5592 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006643/0.6239, allocations: 3.632 MB / 0.5628 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.6265, allocations: 0.5234 MB / 0.5633 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.6318, allocations: 1.592 MB / 0.5648 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008754/0.6405, allocations: 5.674 MB / 0.5704 GB, free: 196 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006929/0.6475, allocations: 3.223 MB / 0.5735 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03199/0.6795, allocations: 27.62 MB / 0.6005 GB, free: 1.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6796, allocations: 0 / 0.6005 GB, free: 1.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6796, allocations: 0 / 0.6005 GB, free: 1.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0016/0.6812, allocations: 0 / 0.6005 GB, free: 1.27 MB / 462.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.04024/0.7215, allocations: 13.42 MB / 0.6136 GB, free: 3.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7216, allocations: 12.03 kB / 0.6136 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09357/0.8152, allocations: 9.717 MB / 0.6231 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/0.8381, allocations: 8.043 MB / 0.631 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001474/0.8396, allocations: 1.248 MB / 0.6322 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4638/1.303, allocations: 1.651 MB / 0.6338 GB, free: 124.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08421/1.388, allocations: 39 MB / 0.6719 GB, free: 109.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008318/1.389, allocations: 115 kB / 0.672 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004929/1.394, allocations: 0.7383 MB / 0.6727 GB, free: 108.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007052/1.401, allocations: 3.965 MB / 0.6766 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06603/1.467, allocations: 29.72 MB / 0.7056 GB, free: 88.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/1.689, allocations: 123.4 MB / 0.8261 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5556/2.245, allocations: 12.99 MB / 0.8388 GB, free: 151.8 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/2.255, allocations: 15.25 MB / 0.8537 GB, free: 139.3 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.007e-05/2.255, allocations: 67.16 kB / 0.8538 GB, free: 139.2 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 7.143e-06/2.255, allocations: 0 / 0.8538 GB, free: 139.2 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.2127/2.468, allocations: 78.41 MB / 0.9303 GB, free: 111.7 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/2.468, allocations: 217.9 kB / 0.9305 GB, free: 111.5 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.483, allocations: 10.8 MB / 0.9411 GB, free: 100.7 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007282/2.483, allocations: 69.7 kB / 0.9412 GB, free: 100.6 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006173/2.49, allocations: 11.07 MB / 0.952 GB, free: 89.55 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/2.491, allocations: 1.353 MB / 0.9533 GB, free: 88.21 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/2.493, allocations: 366.4 kB / 0.9536 GB, free: 87.86 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0006961/2.493, allocations: 1.082 MB / 0.9547 GB, free: 86.77 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00754/2.501, allocations: 6.104 MB / 0.9607 GB, free: 80.66 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/2.514, allocations: 18.51 MB / 0.9787 GB, free: 55.91 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/2.529, allocations: 10.65 MB / 0.9891 GB, free: 45.25 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000379/2.529, allocations: 128 kB / 0.9893 GB, free: 45.13 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.03892/2.568, allocations: 23.5 MB / 1.012 GB, free: 21.63 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.000982/2.569, allocations: 196 kB / 1.012 GB, free: 21.44 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001069/2.57, allocations: 448 kB / 1.013 GB, free: 21 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/2.572, allocations: 0.9049 MB / 1.014 GB, free: 20.1 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01309/2.585, allocations: 4.398 MB / 1.018 GB, free: 15.69 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/2.589, allocations: 3.991 MB / 1.022 GB, free: 11.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/2.603, allocations: 1.072 MB / 1.023 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003195/2.606, allocations: 1.151 MB / 1.024 GB, free: 9.352 MB / 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.01329/2.619, allocations: 7.873 MB / 1.032 GB, free: 1.457 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/2.62, allocations: 0.8251 MB / 1.033 GB, free: 0.6211 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3093/2.93, allocations: 6.218 MB / 1.039 GB, free: 140 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-05/2.93, allocations: 33.03 kB / 1.039 GB, free: 140 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/2.93, allocations: 3.219 kB / 1.039 GB, free: 140 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/2.93, allocations: 13.97 kB / 1.039 GB, free: 140 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04987/2.98, allocations: 21.36 MB / 1.06 GB, free: 133.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/2.98, allocations: 3.438 kB / 1.06 GB, free: 133.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/2.983, allocations: 0.6148 MB / 1.06 GB, free: 133.1 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/2.983, allocations: 235.8 kB / 1.06 GB, free: 133 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/2.983, allocations: 63.67 kB / 1.06 GB, free: 133 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/2.986, allocations: 2.576 MB / 1.063 GB, free: 131.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.986, allocations: 5.906 kB / 1.063 GB, free: 131.2 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/3.001, allocations: 11.21 MB / 1.074 GB, free: 126.1 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004817/3.006, allocations: 1.301 MB / 1.075 GB, free: 125.8 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/3.008, allocations: 61.03 kB / 1.075 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/3.013, allocations: 370.9 kB / 1.076 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/3.014, allocations: 175.4 kB / 1.076 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/3.014, allocations: 103.9 kB / 1.076 GB, free: 125.7 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01707/3.031, allocations: 6.643 MB / 1.082 GB, free: 123.3 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.71e-07/3.031, allocations: 0 / 1.082 GB, free: 123.3 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0188/3.05, allocations: 2.918 MB / 1.085 GB, free: 123 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.001438/3.052, allocations: 271 kB / 1.085 GB, free: 122.8 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.02243/3.074, allocations: 13.58 MB / 1.099 GB, free: 117.9 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/3.074, allocations: 448 / 1.099 GB, free: 117.9 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.004001/3.078, allocations: 2.967 MB / 1.102 GB, free: 116.8 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008755/3.087, allocations: 1.381 MB / 1.103 GB, free: 116.3 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06702/3.154, allocations: 35.63 MB / 1.138 GB, free: 92.09 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01965/3.174, allocations: 10.75 MB / 1.148 GB, free: 84.11 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01524/3.189, allocations: 5.365 MB / 1.153 GB, free: 80.7 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/3.191, allocations: 0.6088 MB / 1.154 GB, free: 80.1 MB / 0.5452 GB Notification: Performance of SimCode: time 8.12e-07/3.191, allocations: 0 / 1.154 GB, free: 80.1 MB / 0.5452 GB Notification: Performance of Templates: time 0.1466/3.338, allocations: 78.07 MB / 1.23 GB, free: 2.641 MB / 0.5452 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) Environment - environmentSimulation: