Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001395/0.001395, 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.002769/0.002769, allocations: 195.9 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.682/1.682, allocations: 205.1 MB / 222 MB, free: 4.992 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.3392/0.3392, allocations: 39.92 MB / 309.3 MB, free: 9.211 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.001356/0.001356, allocations: 63.91 kB / 376.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 56.88 MB / 433.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2501/0.3955, allocations: 26.32 MB / 460.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.4104, allocations: 6.342 MB / 466.5 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00675/0.4172, allocations: 119.6 kB / 466.6 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.4207, allocations: 1.654 MB / 468.2 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.425, allocations: 1.511 MB / 469.7 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.4271, allocations: 1.186 MB / 470.9 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00584/0.433, allocations: 5.14 MB / 476.1 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.436, allocations: 2.521 MB / 478.6 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.4379, allocations: 1.055 MB / 479.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.44, allocations: 1.78 MB / 481.4 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005317/0.4406, allocations: 178.8 kB / 481.6 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.442, allocations: 0.6822 MB / 482.3 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4434, allocations: 1.603 MB / 483.9 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.445, allocations: 1.929 MB / 485.8 MB, free: 27.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008744/0.4537, allocations: 6.141 MB / 492 MB, free: 25.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4538, allocations: 1.219 kB / 492 MB, free: 25.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.4538, allocations: 0.6562 kB / 492 MB, free: 25.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003495/0.4542, allocations: 0 / 492 MB, free: 25.95 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.01303/0.4672, allocations: 4.195 MB / 496.2 MB, free: 23.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4673, allocations: 10.14 kB / 496.2 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4785, allocations: 3.013 MB / 499.2 MB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/0.4843, allocations: 1.868 MB / 0.4893 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.4846, allocations: 198.9 kB / 0.4895 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.4862, allocations: 266.8 kB / 0.4897 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.5053, allocations: 10.52 MB / 0.5 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.795e-05/0.5054, allocations: 28.41 kB / 0.5 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.5058, allocations: 128.1 kB / 0.5002 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003692/0.5095, allocations: 2.442 MB / 0.5026 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.5268, allocations: 9.368 MB / 0.5117 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/0.5874, allocations: 38.93 MB / 0.5497 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.594, allocations: 3.495 MB / 0.5531 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.5959, allocations: 1.274 MB / 0.5544 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00958/0.6055, allocations: 5.456 MB / 0.5597 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6056, allocations: 51.06 kB / 0.5598 GB, free: 5.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 5.099e-06/0.6056, allocations: 0 / 0.5598 GB, free: 5.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.00691/0.6125, allocations: 3.357 MB / 0.563 GB, free: 2.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6127, allocations: 170.7 kB / 0.5632 GB, free: 2.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00651/0.6192, allocations: 3.951 MB / 0.5671 GB, free: 14.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.6194, allocations: 48.2 kB / 0.5671 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/0.6217, allocations: 3.32 MB / 0.5703 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.6224, allocations: 0.6155 MB / 0.5709 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/0.6244, allocations: 1.355 MB / 0.5723 GB, free: 8.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6245, allocations: 305.1 kB / 0.5726 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.6276, allocations: 2 MB / 0.5745 GB, free: 6.438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0065/0.6341, allocations: 6.311 MB / 0.5807 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.6454, allocations: 9.051 MB / 0.5895 GB, free: 2.781 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/0.6456, allocations: 48.28 kB / 0.5896 GB, free: 2.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01887/0.6645, allocations: 7.935 MB / 0.5973 GB, free: 10.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.6647, allocations: 75.28 kB / 0.5974 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/0.6649, allocations: 152 kB / 0.5975 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.6651, allocations: 200 kB / 0.5977 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006117/0.6712, allocations: 1.505 MB / 0.5992 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.6716, allocations: 306.8 kB / 0.5995 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007318/0.6789, allocations: 0.9445 MB / 0.6004 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/0.6804, allocations: 421.8 kB / 0.6008 GB, free: 7.207 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.006033/0.6865, allocations: 2.283 MB / 0.603 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009142/0.6874, allocations: 315.8 kB / 0.6033 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6887, allocations: 412.2 kB / 0.6037 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-05/0.6888, allocations: 39.98 kB / 0.6038 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.6888, allocations: 0 / 0.6038 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.6889, allocations: 7.984 kB / 0.6038 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.7036, allocations: 5.702 MB / 0.6093 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.7037, allocations: 8 kB / 0.6093 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7048, allocations: 215.7 kB / 0.6096 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/0.7048, allocations: 12 kB / 0.6096 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.705, allocations: 31.28 kB / 0.6096 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.698e-05/0.7051, allocations: 15.92 kB / 0.6096 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.7051, allocations: 15.88 kB / 0.6096 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.7091, allocations: 2.582 MB / 0.6121 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7102, allocations: 392.5 kB / 0.6125 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/0.7108, allocations: 27.98 kB / 0.6125 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.712, allocations: 61.88 kB / 0.6126 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.7122, allocations: 96.31 kB / 0.6127 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.7123, allocations: 40 kB / 0.6127 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004789/0.7171, allocations: 2.411 MB / 0.6151 GB, free: 8.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7171, allocations: 0 / 0.6151 GB, free: 8.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00678/0.7239, allocations: 1.136 MB / 0.6162 GB, free: 7.223 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.00054/0.7245, allocations: 157.3 kB / 0.6163 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009486/0.734, allocations: 4.526 MB / 0.6208 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.382e-05/0.734, allocations: 192 / 0.6208 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.7357, allocations: 0.961 MB / 0.6217 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.7387, allocations: 348.4 kB / 0.622 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.978, allocations: 10.71 MB / 0.6325 GB, free: 141.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/0.9815, allocations: 3.275 MB / 0.6357 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005097/0.9866, allocations: 2.281 MB / 0.6379 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/0.9873, allocations: 234.4 kB / 0.6382 GB, free: 141 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.9873, allocations: 0 / 0.6382 GB, free: 141 MB / 494.1 MB Notification: Performance of Templates: time 0.06085/1.048, allocations: 24.8 MB / 0.6624 GB, free: 135.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)