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.001135/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001171/0.001172, allocations: 198.3 kB / 16.14 MB, free: 6.703 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.669/1.669, allocations: 205.1 MB / 222 MB, free: 4.742 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.3491/0.3491, allocations: 39.93 MB / 309.3 MB, free: 9.312 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.001743/0.001743, allocations: 67.91 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1449, allocations: 56.88 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3193/0.4642, allocations: 65.55 MB / 499.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03298/0.4973, allocations: 15.01 MB / 0.5023 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01792/0.5152, allocations: 310.1 kB / 0.5026 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04246/0.5578, allocations: 22.39 MB / 0.5245 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.5714, allocations: 3.54 MB / 0.5279 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009549/0.581, allocations: 3.875 MB / 0.5317 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.6037, allocations: 17.08 MB / 0.5484 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04555/0.6493, allocations: 31.47 MB / 0.5791 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.663, allocations: 5.936 MB / 0.5849 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01714/0.6802, allocations: 9.281 MB / 0.594 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007172/0.6874, allocations: 1.539 MB / 0.5955 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.6991, allocations: 2.876 MB / 0.5983 GB, free: 424 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.015/0.7142, allocations: 7.877 MB / 0.606 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01896/0.7332, allocations: 9.061 MB / 0.6148 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5805/1.314, allocations: 32.4 MB / 0.6465 GB, free: 60.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/1.314, allocations: 3.469 kB / 0.6465 GB, free: 60.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.735e-06/1.314, allocations: 2.281 kB / 0.6465 GB, free: 60.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001968/1.316, allocations: 3.75 kB / 0.6465 GB, free: 60.03 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.07063/1.386, allocations: 16.99 MB / 0.6631 GB, free: 54.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/1.387, allocations: 9.5 kB / 0.6631 GB, free: 54.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02887/1.415, allocations: 3.823 MB / 0.6668 GB, free: 53.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03257/1.448, allocations: 7.931 MB / 0.6746 GB, free: 51.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004156/1.452, allocations: 1.251 MB / 0.6758 GB, free: 51.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01531/1.468, allocations: 1.649 MB / 0.6774 GB, free: 51.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1348/1.602, allocations: 38.82 MB / 0.7153 GB, free: 25.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001389/1.604, allocations: 121.2 kB / 0.7154 GB, free: 25.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01135/1.615, allocations: 0.7354 MB / 0.7161 GB, free: 25.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008435/1.624, allocations: 3.959 MB / 0.72 GB, free: 21.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07104/1.695, allocations: 29.51 MB / 0.7488 GB, free: 8.117 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4517/2.147, allocations: 123.4 MB / 0.8693 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04167/2.188, allocations: 12.94 MB / 0.8819 GB, free: 154.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/2.194, allocations: 3.748 MB / 0.8856 GB, free: 154.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00998/2.204, allocations: 15.2 MB / 0.9004 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/2.204, allocations: 63.8 kB / 0.9005 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=274): time 9.207e-06/2.204, allocations: 2.125 kB / 0.9005 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.2055/2.41, allocations: 78.04 MB / 0.9767 GB, free: 98.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/2.41, allocations: 213.9 kB / 0.9769 GB, free: 97.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02495/2.435, allocations: 10.71 MB / 0.9874 GB, free: 87.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.436, allocations: 76.91 kB / 0.9875 GB, free: 87.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.007773/2.444, allocations: 11.04 MB / 0.9982 GB, free: 75.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/2.446, allocations: 1.358 MB / 0.9996 GB, free: 74.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01193/2.458, allocations: 3.85 MB / 1.003 GB, free: 70.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/2.458, allocations: 309.1 kB / 1.004 GB, free: 70.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/2.469, allocations: 6.282 MB / 1.01 GB, free: 64.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01992/2.489, allocations: 18.78 MB / 1.028 GB, free: 39.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02766/2.517, allocations: 27.01 MB / 1.054 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007212/2.518, allocations: 128 kB / 1.055 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.3568/2.875, allocations: 24.14 MB / 1.078 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003512/2.875, allocations: 196 kB / 1.078 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008079/2.876, allocations: 447 kB / 1.079 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/2.879, allocations: 1.092 MB / 1.08 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/2.894, allocations: 4.433 MB / 1.084 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/2.9, allocations: 4.671 MB / 1.089 GB, free: 204.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/2.916, allocations: 1.077 MB / 1.09 GB, free: 204.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004896/2.921, allocations: 1.158 MB / 1.091 GB, free: 204.5 MB / 0.6075 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.02015/2.941, allocations: 7.867 MB / 1.099 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003029/2.944, allocations: 0.8276 MB / 1.099 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/2.96, allocations: 6.601 MB / 1.106 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/2.96, allocations: 33.95 kB / 1.106 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/2.96, allocations: 3.719 kB / 1.106 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.932e-05/2.96, allocations: 14.88 kB / 1.106 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05904/3.019, allocations: 21.82 MB / 1.127 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/3.019, allocations: 8.156 kB / 1.127 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/3.022, allocations: 0.6073 MB / 1.128 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/3.024, allocations: 497.8 kB / 1.128 GB, free: 195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005291/3.024, allocations: 59.61 kB / 1.128 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/3.027, allocations: 3.25 MB / 1.132 GB, free: 193 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.027, allocations: 7.188 kB / 1.132 GB, free: 193 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/3.041, allocations: 10.76 MB / 1.142 GB, free: 188.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003412/3.044, allocations: 1.291 MB / 1.143 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/3.047, allocations: 51.16 kB / 1.143 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005194/3.052, allocations: 348.4 kB / 1.144 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00081/3.053, allocations: 180.2 kB / 1.144 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004643/3.053, allocations: 98.58 kB / 1.144 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01608/3.069, allocations: 6.575 MB / 1.15 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.02e-07/3.069, allocations: 3.375 kB / 1.15 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.02248/3.092, allocations: 2.924 MB / 1.153 GB, free: 184.2 MB / 0.6075 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.001781/3.094, allocations: 280 kB / 1.153 GB, free: 184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0235/3.117, allocations: 13.86 MB / 1.167 GB, free: 172.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/3.117, allocations: 5.125 kB / 1.167 GB, free: 172.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00473/3.122, allocations: 3.055 MB / 1.17 GB, free: 170 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/3.134, allocations: 1.451 MB / 1.171 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07623/3.21, allocations: 37.24 MB / 1.208 GB, free: 133.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02876/3.239, allocations: 10.46 MB / 1.218 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01817/3.257, allocations: 5.357 MB / 1.223 GB, free: 117.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00318/3.26, allocations: 0.6088 MB / 1.224 GB, free: 116.6 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/3.26, allocations: 0 / 1.224 GB, free: 116.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.4684/3.728, allocations: 81.06 MB / 1.303 GB, free: 203 MB / 0.6075 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)