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.0007604/0.0007602, allocations: 91.38 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.005757/0.005758, allocations: 173 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.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3179/0.3179, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005239/0.000524, allocations: 23.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1247, allocations: 57.51 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2828/0.4075, allocations: 63.79 MB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0384/0.446, allocations: 14.92 MB / 0.5012 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01864/0.4647, allocations: 308.7 kB / 0.5015 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005475/0.4702, allocations: 1.348 MB / 0.5029 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.4827, allocations: 3.555 MB / 0.5063 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007632/0.4904, allocations: 2.195 MB / 0.5085 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02666/0.5171, allocations: 17.06 MB / 0.5251 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07213/0.5893, allocations: 44.43 MB / 0.5685 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008522/0.5978, allocations: 3.382 MB / 0.5718 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00961/0.6075, allocations: 6.1 MB / 0.5778 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002385/0.6099, allocations: 0.5234 MB / 0.5783 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/0.6149, allocations: 1.857 MB / 0.5801 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007892/0.6228, allocations: 6.265 MB / 0.5862 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01341/0.6362, allocations: 7.158 MB / 0.5932 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03547/0.6717, allocations: 30.9 MB / 0.6234 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6718, allocations: 4 kB / 0.6234 GB, free: 10.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6718, allocations: 0 / 0.6234 GB, free: 10.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001398/0.6732, allocations: 0 / 0.6234 GB, free: 10.4 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.4535/1.127, allocations: 13.05 MB / 0.6361 GB, free: 127.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.127, allocations: 7.516 kB / 0.6361 GB, free: 127.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/1.149, allocations: 3.9 MB / 0.64 GB, free: 126.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.164, allocations: 7.92 MB / 0.6477 GB, free: 123.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009128/1.165, allocations: 1.251 MB / 0.6489 GB, free: 122.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005873/1.171, allocations: 1.651 MB / 0.6505 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08508/1.256, allocations: 38.89 MB / 0.6885 GB, free: 105.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006933/1.256, allocations: 120.4 kB / 0.6886 GB, free: 105.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004147/1.261, allocations: 0.739 MB / 0.6893 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004728/1.265, allocations: 3.966 MB / 0.6932 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05751/1.323, allocations: 29.57 MB / 0.7221 GB, free: 71.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5921/1.915, allocations: 123.4 MB / 0.8426 GB, free: 129.2 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03496/1.95, allocations: 13.05 MB / 0.8554 GB, free: 128.6 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/1.954, allocations: 3.755 MB / 0.859 GB, free: 128.5 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/1.965, allocations: 15.19 MB / 0.8739 GB, free: 116 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.295e-05/1.965, allocations: 67.59 kB / 0.8739 GB, free: 115.9 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 8.345e-06/1.965, allocations: 0 / 0.8739 GB, free: 115.9 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.2071/2.172, allocations: 78.69 MB / 0.9508 GB, free: 82.8 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/2.172, allocations: 205.9 kB / 0.951 GB, free: 82.55 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/2.189, allocations: 10.71 MB / 0.9614 GB, free: 71.85 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008242/2.19, allocations: 72.75 kB / 0.9615 GB, free: 71.78 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006998/2.197, allocations: 11.04 MB / 0.9723 GB, free: 60.74 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/2.199, allocations: 1.358 MB / 0.9736 GB, free: 59.39 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002299/2.201, allocations: 1.477 MB / 0.9751 GB, free: 57.91 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/2.201, allocations: 305.1 kB / 0.9754 GB, free: 57.61 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008946/2.21, allocations: 6.28 MB / 0.9815 GB, free: 51.32 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01568/2.226, allocations: 18.78 MB / 0.9998 GB, free: 26.5 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02808/2.254, allocations: 27.01 MB / 1.026 GB, free: 9.441 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000479/2.254, allocations: 128 kB / 1.026 GB, free: 9.316 MB / 0.5452 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.3284/2.583, allocations: 24.14 MB / 1.05 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/2.583, allocations: 197.8 kB / 1.05 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007563/2.584, allocations: 446.5 kB / 1.051 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/2.586, allocations: 1.097 MB / 1.052 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01362/2.599, allocations: 4.427 MB / 1.056 GB, free: 153.6 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/2.605, allocations: 4.688 MB / 1.06 GB, free: 152.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/2.619, allocations: 1.075 MB / 1.062 GB, free: 152.3 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00371/2.623, allocations: 1.153 MB / 1.063 GB, free: 152.3 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.01698/2.64, allocations: 7.87 MB / 1.07 GB, free: 148.9 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/2.642, allocations: 0.8265 MB / 1.071 GB, free: 148.9 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/2.654, allocations: 6.599 MB / 1.078 GB, free: 146.3 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/2.654, allocations: 33.72 kB / 1.078 GB, free: 146.3 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/2.654, allocations: 3.562 kB / 1.078 GB, free: 146.3 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/2.654, allocations: 14.31 kB / 1.078 GB, free: 146.3 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04814/2.702, allocations: 21.86 MB / 1.099 GB, free: 138.4 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/2.702, allocations: 4.594 kB / 1.099 GB, free: 138.4 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/2.705, allocations: 0.6156 MB / 1.1 GB, free: 138.4 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/2.707, allocations: 488.7 kB / 1.1 GB, free: 138.3 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/2.707, allocations: 61.06 kB / 1.1 GB, free: 138.3 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/2.71, allocations: 3.25 MB / 1.103 GB, free: 136.3 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/2.71, allocations: 7.875 kB / 1.103 GB, free: 136.3 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/2.724, allocations: 10.76 MB / 1.114 GB, free: 132.1 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/2.728, allocations: 1.303 MB / 1.115 GB, free: 131.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.73, allocations: 55.77 kB / 1.115 GB, free: 131.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/2.733, allocations: 378.5 kB / 1.115 GB, free: 131.2 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004968/2.734, allocations: 181.8 kB / 1.116 GB, free: 131.2 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/2.734, allocations: 107.6 kB / 1.116 GB, free: 131.1 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.01171/2.746, allocations: 6.578 MB / 1.122 GB, free: 128.2 MB / 0.5608 GB Notification: Performance of sort global known variables: time 3.6e-07/2.746, allocations: 4 kB / 1.122 GB, free: 128.2 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01496/2.761, allocations: 2.92 MB / 1.125 GB, free: 125.3 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.0008978/2.761, allocations: 273.9 kB / 1.125 GB, free: 125 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.02143/2.783, allocations: 13.87 MB / 1.139 GB, free: 112.8 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/2.783, allocations: 448 / 1.139 GB, free: 112.8 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/2.787, allocations: 3.059 MB / 1.142 GB, free: 110.1 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/2.801, allocations: 1.443 MB / 1.143 GB, free: 108.9 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05873/2.86, allocations: 37.33 MB / 1.18 GB, free: 73.53 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01998/2.88, allocations: 10.46 MB / 1.19 GB, free: 63.02 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.01333/2.893, allocations: 5.354 MB / 1.195 GB, free: 57.66 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.896, allocations: 0.6049 MB / 1.196 GB, free: 57.05 MB / 0.5608 GB Notification: Performance of SimCode: time 9.52e-07/2.896, allocations: 0 / 1.196 GB, free: 57.05 MB / 0.5608 GB Notification: Performance of Templates: time 0.4451/3.341, allocations: 80.07 MB / 1.274 GB, free: 147.1 MB / 0.5608 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: