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.001311/0.001311, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.0144/0.0144, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.746/1.746, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3822/0.3822, allocations: 40 MB / 310.7 MB, free: 9.516 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.0005367/0.0005367, allocations: 12 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 57.97 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3137/0.4478, allocations: 63.78 MB / 0.4894 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04337/0.4912, allocations: 14.93 MB / 0.504 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02017/0.5114, allocations: 310.1 kB / 0.5043 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005821/0.5173, allocations: 1.344 MB / 0.5056 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.5313, allocations: 3.55 MB / 0.5091 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00838/0.5397, allocations: 2.189 MB / 0.5112 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03095/0.5707, allocations: 17.07 MB / 0.5279 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0742/0.6449, allocations: 44.42 MB / 0.5713 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008492/0.6535, allocations: 3.39 MB / 0.5746 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.6641, allocations: 6.1 MB / 0.5806 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002883/0.6671, allocations: 0.5234 MB / 0.5811 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007343/0.6744, allocations: 1.857 MB / 0.5829 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01134/0.6858, allocations: 6.265 MB / 0.589 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01298/0.6988, allocations: 7.154 MB / 0.596 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03561/0.7345, allocations: 30.89 MB / 0.6262 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7345, allocations: 0 / 0.6262 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7345, allocations: 7.938 kB / 0.6262 GB, free: 5.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00134/0.7359, allocations: 0 / 0.6262 GB, free: 5.922 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.4472/1.183, allocations: 13.06 MB / 0.6389 GB, free: 127.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.183, allocations: 6.125 kB / 0.6389 GB, free: 127.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/1.205, allocations: 3.894 MB / 0.6427 GB, free: 126.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/1.224, allocations: 7.921 MB / 0.6505 GB, free: 123.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/1.225, allocations: 1.255 MB / 0.6517 GB, free: 122.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005647/1.231, allocations: 1.651 MB / 0.6533 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08469/1.315, allocations: 38.88 MB / 0.6913 GB, free: 101.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008985/1.316, allocations: 126.8 kB / 0.6914 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006875/1.323, allocations: 0.7365 MB / 0.6921 GB, free: 100.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005123/1.328, allocations: 3.965 MB / 0.696 GB, free: 96.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0613/1.39, allocations: 29.57 MB / 0.7249 GB, free: 67.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7026/2.092, allocations: 123.4 MB / 0.8454 GB, free: 125.9 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03621/2.129, allocations: 13.05 MB / 0.8582 GB, free: 125.2 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/2.134, allocations: 3.748 MB / 0.8618 GB, free: 125.2 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/2.145, allocations: 15.19 MB / 0.8766 GB, free: 112.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/2.145, allocations: 67.48 kB / 0.8767 GB, free: 112.6 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 6.602e-06/2.145, allocations: 0 / 0.8767 GB, free: 112.6 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.2118/2.357, allocations: 78.69 MB / 0.9536 GB, free: 74.9 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/2.357, allocations: 209.9 kB / 0.9538 GB, free: 74.65 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/2.375, allocations: 10.71 MB / 0.9642 GB, free: 63.95 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006534/2.376, allocations: 73.7 kB / 0.9643 GB, free: 63.87 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006358/2.382, allocations: 11.04 MB / 0.9751 GB, free: 52.84 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/2.384, allocations: 1.363 MB / 0.9764 GB, free: 51.48 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00336/2.387, allocations: 1.473 MB / 0.9778 GB, free: 50 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/2.387, allocations: 309.1 kB / 0.9781 GB, free: 49.7 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008882/2.396, allocations: 6.286 MB / 0.9843 GB, free: 43.41 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01473/2.411, allocations: 18.78 MB / 1.003 GB, free: 18.58 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03016/2.441, allocations: 27 MB / 1.029 GB, free: 1.535 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000415/2.441, allocations: 128 kB / 1.029 GB, free: 1.41 MB / 0.5452 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.3429/2.784, allocations: 24.14 MB / 1.053 GB, free: 156.3 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003069/2.785, allocations: 196.7 kB / 1.053 GB, free: 156.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007879/2.785, allocations: 444.9 kB / 1.053 GB, free: 156.3 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/2.788, allocations: 1.094 MB / 1.054 GB, free: 156.3 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/2.801, allocations: 4.429 MB / 1.059 GB, free: 155.8 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/2.808, allocations: 4.687 MB / 1.063 GB, free: 153.9 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/2.826, allocations: 1.074 MB / 1.064 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005025/2.831, allocations: 1.162 MB / 1.065 GB, free: 153.4 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 (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.01866/2.85, allocations: 7.859 MB / 1.073 GB, free: 149.6 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/2.851, allocations: 0.825 MB / 1.074 GB, free: 149.6 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/2.865, allocations: 6.603 MB / 1.08 GB, free: 147 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/2.865, allocations: 33.66 kB / 1.08 GB, free: 147 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/2.865, allocations: 4.125 kB / 1.08 GB, free: 147 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/2.865, allocations: 14.45 kB / 1.08 GB, free: 147 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0541/2.919, allocations: 21.87 MB / 1.102 GB, free: 139.1 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/2.919, allocations: 7.656 kB / 1.102 GB, free: 139.1 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/2.922, allocations: 0.6071 MB / 1.102 GB, free: 139.1 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/2.923, allocations: 0.4899 MB / 1.103 GB, free: 139 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/2.923, allocations: 59.55 kB / 1.103 GB, free: 138.9 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/2.926, allocations: 3.245 MB / 1.106 GB, free: 137 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/2.926, allocations: 5.531 kB / 1.106 GB, free: 137 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/2.94, allocations: 10.76 MB / 1.117 GB, free: 132.6 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/2.944, allocations: 1.301 MB / 1.118 GB, free: 131.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/2.946, allocations: 56.06 kB / 1.118 GB, free: 131.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004329/2.95, allocations: 382.1 kB / 1.118 GB, free: 131 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005994/2.951, allocations: 173.8 kB / 1.118 GB, free: 130.9 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/2.951, allocations: 103.5 kB / 1.119 GB, free: 130.8 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.01512/2.966, allocations: 6.585 MB / 1.125 GB, free: 125.3 MB / 0.5608 GB Notification: Performance of sort global known variables: time 5.61e-07/2.966, allocations: 0 / 1.125 GB, free: 125.3 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01722/2.983, allocations: 2.926 MB / 1.128 GB, free: 122.4 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 (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.001256/2.985, allocations: 274.5 kB / 1.128 GB, free: 122.2 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.02413/3.009, allocations: 13.87 MB / 1.142 GB, free: 109.9 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/3.009, allocations: 448 / 1.142 GB, free: 109.9 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.004526/3.013, allocations: 3.064 MB / 1.145 GB, free: 107.2 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01294/3.026, allocations: 1.448 MB / 1.146 GB, free: 106 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06081/3.087, allocations: 37.32 MB / 1.182 GB, free: 69.25 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01896/3.106, allocations: 10.46 MB / 1.193 GB, free: 58.74 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.01393/3.12, allocations: 5.355 MB / 1.198 GB, free: 53.38 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/3.123, allocations: 0.6088 MB / 1.199 GB, free: 52.77 MB / 0.5608 GB Notification: Performance of SimCode: time 1.573e-06/3.123, allocations: 4 kB / 1.199 GB, free: 52.77 MB / 0.5608 GB Notification: Performance of Templates: time 0.4464/3.569, allocations: 80.06 MB / 1.277 GB, free: 146.2 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: