Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00743/0.00743, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.401/1.401, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3124/0.3124, allocations: 38.04 MB / 308.8 MB, free: 10.3 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.0005845/0.0005845, allocations: 16.7 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2579/0.3736, allocations: 25.43 MB / 460 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3887, allocations: 6.296 MB / 466.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005919/0.3947, allocations: 114.4 kB / 466.4 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3963, allocations: 451.7 kB / 466.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.4003, allocations: 1.524 MB / 468.4 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.4012, allocations: 231.1 kB / 468.6 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.4076, allocations: 5.144 MB / 473.7 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004928/0.4125, allocations: 3.224 MB / 477 MB, free: 31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.4144, allocations: 0.9452 MB / 477.9 MB, free: 30.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.4169, allocations: 1.632 MB / 479.5 MB, free: 30.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008319/0.4178, allocations: 131.1 kB / 479.7 MB, free: 30.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.4193, allocations: 0.6317 MB / 480.3 MB, free: 30.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.4206, allocations: 1.549 MB / 481.8 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.4222, allocations: 1.873 MB / 483.7 MB, free: 28.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.4287, allocations: 5.991 MB / 489.7 MB, free: 26.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4287, allocations: 0.9375 kB / 489.7 MB, free: 26.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4287, allocations: 0 / 489.7 MB, free: 26.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002268/0.4289, allocations: 0 / 489.7 MB, free: 26.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.006895/0.4358, allocations: 3.394 MB / 493.1 MB, free: 24.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4359, allocations: 10.17 kB / 493.1 MB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4464, allocations: 3.105 MB / 496.2 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.4497, allocations: 1.852 MB / 498.1 MB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.4498, allocations: 202.7 kB / 498.3 MB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.4503, allocations: 262.8 kB / 498.5 MB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.466, allocations: 10.52 MB / 0.4971 GB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.962e-05/0.4661, allocations: 35.86 kB / 0.4972 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.4666, allocations: 130.3 kB / 0.4973 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.4704, allocations: 2.44 MB / 0.4997 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.4866, allocations: 9.371 MB / 0.5088 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/0.5297, allocations: 38.96 MB / 0.5469 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006299/0.5361, allocations: 3.497 MB / 0.5503 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.538, allocations: 1.277 MB / 0.5515 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00877/0.5468, allocations: 5.452 MB / 0.5568 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5469, allocations: 47.06 kB / 0.5569 GB, free: 8.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 4.669e-06/0.5469, allocations: 0 / 0.5569 GB, free: 8.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.006926/0.5538, allocations: 3.364 MB / 0.5602 GB, free: 5.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.5539, allocations: 170.8 kB / 0.5603 GB, free: 5.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/0.5593, allocations: 3.959 MB / 0.5642 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5595, allocations: 43.81 kB / 0.5642 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.5616, allocations: 3.312 MB / 0.5675 GB, free: 14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.5621, allocations: 0.6227 MB / 0.5681 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006237/0.5627, allocations: 0.5623 MB / 0.5686 GB, free: 12.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5629, allocations: 305.1 kB / 0.5689 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.5656, allocations: 2.004 MB / 0.5709 GB, free: 10.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/0.571, allocations: 6.307 MB / 0.577 GB, free: 2.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009638/0.5807, allocations: 9.058 MB / 0.5859 GB, free: 6.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.5808, allocations: 40 kB / 0.5859 GB, free: 6.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01417/0.595, allocations: 7.936 MB / 0.5937 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.5952, allocations: 72 kB / 0.5937 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002834/0.5955, allocations: 152 kB / 0.5939 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.5958, allocations: 200 kB / 0.5941 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/0.6005, allocations: 1.513 MB / 0.5956 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002139/0.6008, allocations: 298.8 kB / 0.5958 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006175/0.607, allocations: 0.9431 MB / 0.5968 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008834/0.6079, allocations: 415.9 kB / 0.5972 GB, free: 11.29 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (819): * Single equations (assignments): 811 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003546/0.6114, allocations: 2.284 MB / 0.5994 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.6119, allocations: 315.8 kB / 0.5997 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.6128, allocations: 420.2 kB / 0.6001 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/0.6128, allocations: 36 kB / 0.6001 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.6129, allocations: 0 / 0.6001 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6129, allocations: 15.91 kB / 0.6001 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.622, allocations: 5.697 MB / 0.6057 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.622, allocations: 11.98 kB / 0.6057 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/0.623, allocations: 211.6 kB / 0.6059 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.623, allocations: 12.75 kB / 0.6059 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.6231, allocations: 28 kB / 0.606 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.6231, allocations: 15.98 kB / 0.606 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.6231, allocations: 11.94 kB / 0.606 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.6259, allocations: 2.58 MB / 0.6085 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.6266, allocations: 396.5 kB / 0.6089 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.6269, allocations: 35.03 kB / 0.6089 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/0.6279, allocations: 64.23 kB / 0.609 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.6281, allocations: 84.28 kB / 0.6091 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.6281, allocations: 51.94 kB / 0.6091 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003444/0.6316, allocations: 2.415 MB / 0.6115 GB, free: 12.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6316, allocations: 0 / 0.6115 GB, free: 12.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004885/0.6365, allocations: 1.127 MB / 0.6126 GB, free: 11.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003774/0.6369, allocations: 167.4 kB / 0.6127 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007003/0.6439, allocations: 4.519 MB / 0.6171 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.644, allocations: 4 kB / 0.6171 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.6453, allocations: 0.9715 MB / 0.6181 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/0.6503, allocations: 340.8 kB / 0.6184 GB, free: 5.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2249/0.8753, allocations: 10.75 MB / 0.6289 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/0.8781, allocations: 3.279 MB / 0.6321 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004806/0.8829, allocations: 2.279 MB / 0.6343 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.8835, allocations: 234.1 kB / 0.6346 GB, free: 138.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.8835, allocations: 2.297 kB / 0.6346 GB, free: 138.6 MB / 494.1 MB Notification: Performance of Templates: time 0.0482/0.9317, allocations: 24.6 MB / 0.6586 GB, free: 133.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) Environment - environmentSimulation: