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.001833/0.001833, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003287/0.003287, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.653/1.653, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3809/0.3809, allocations: 39.94 MB / 309.7 MB, free: 9.215 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.001749/0.001749, allocations: 66.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1312, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01455/0.1458, allocations: 12.44 MB / 446.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009382/0.1553, allocations: 4.051 MB / 451 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.1579, allocations: 79.81 kB / 451.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.1616, allocations: 1.685 MB / 452.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2378/0.3994, allocations: 1.586 MB / 454.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.402, allocations: 1.182 MB / 455.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005439/0.4074, allocations: 3.617 MB / 459.1 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.411, allocations: 2.521 MB / 461.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.413, allocations: 1.219 MB / 462.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.4149, allocations: 1.662 MB / 464.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.4155, allocations: 253.3 kB / 464.8 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.4169, allocations: 0.7186 MB / 465.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.4181, allocations: 1.645 MB / 467.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4196, allocations: 1.982 MB / 469.1 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00789/0.4275, allocations: 6.197 MB / 475.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4276, allocations: 6.703 kB / 475.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4276, allocations: 0 / 475.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002782/0.4279, allocations: 4 kB / 475.3 MB, free: 32.64 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.007853/0.4357, allocations: 4.192 MB / 479.5 MB, free: 30.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4358, allocations: 12.92 kB / 479.5 MB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4464, allocations: 3.016 MB / 482.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.452, allocations: 1.855 MB / 484.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/0.4524, allocations: 204.4 kB / 484.6 MB, free: 28.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/0.454, allocations: 257.8 kB / 484.9 MB, free: 28.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/0.4796, allocations: 10.52 MB / 495.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.4799, allocations: 35.59 kB / 495.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/0.4814, allocations: 130.8 kB / 495.5 MB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005292/0.4867, allocations: 2.444 MB / 498 MB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.51, allocations: 9.364 MB / 0.4955 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0597/0.5698, allocations: 38.93 MB / 0.5335 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/0.5766, allocations: 3.488 MB / 0.5369 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5789, allocations: 1.287 MB / 0.5381 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/0.592, allocations: 5.451 MB / 0.5435 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.5921, allocations: 47.12 kB / 0.5435 GB, free: 4.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 6.502e-06/0.5921, allocations: 0 / 0.5435 GB, free: 4.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.008136/0.6002, allocations: 3.359 MB / 0.5468 GB, free: 1.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.6004, allocations: 174.7 kB / 0.547 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009665/0.6101, allocations: 3.948 MB / 0.5508 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.6105, allocations: 41.7 kB / 0.5508 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003348/0.6138, allocations: 3.322 MB / 0.5541 GB, free: 9.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/0.6153, allocations: 0.6187 MB / 0.5547 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003992/0.6193, allocations: 1.347 MB / 0.556 GB, free: 7.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6194, allocations: 309.1 kB / 0.5563 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/0.6233, allocations: 2 MB / 0.5583 GB, free: 5.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007233/0.6306, allocations: 6.303 MB / 0.5644 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.6417, allocations: 9.069 MB / 0.5733 GB, free: 1.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000203/0.6419, allocations: 44 kB / 0.5733 GB, free: 1.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.018/0.6599, allocations: 7.927 MB / 0.5811 GB, free: 9.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/0.6604, allocations: 72 kB / 0.5811 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004689/0.6609, allocations: 155.8 kB / 0.5813 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.6613, allocations: 200 kB / 0.5815 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005927/0.6672, allocations: 1.516 MB / 0.5829 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003406/0.6676, allocations: 298.9 kB / 0.5832 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/0.6743, allocations: 0.9429 MB / 0.5841 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/0.6762, allocations: 412 kB / 0.5845 GB, free: 6.113 MB / 462.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.006611/0.6828, allocations: 2.292 MB / 0.5868 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/0.6842, allocations: 319.8 kB / 0.5871 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.6866, allocations: 420.2 kB / 0.5875 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001317/0.6867, allocations: 36 kB / 0.5875 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/0.6868, allocations: 0 / 0.5875 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/0.6868, allocations: 15.91 kB / 0.5875 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.7044, allocations: 5.692 MB / 0.5931 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.7045, allocations: 11.98 kB / 0.5931 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.7058, allocations: 207.7 kB / 0.5933 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/0.7058, allocations: 8 kB / 0.5933 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.706, allocations: 34.42 kB / 0.5933 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/0.706, allocations: 15.92 kB / 0.5934 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.7061, allocations: 8.469 kB / 0.5934 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.7097, allocations: 2.582 MB / 0.5959 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7107, allocations: 384.6 kB / 0.5963 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007765/0.7115, allocations: 30.25 kB / 0.5963 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.7131, allocations: 63.92 kB / 0.5963 GB, free: 9.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.7133, allocations: 92.22 kB / 0.5964 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.7134, allocations: 45.95 kB / 0.5965 GB, free: 9.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005451/0.7189, allocations: 2.407 MB / 0.5988 GB, free: 7.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7189, allocations: 4 kB / 0.5988 GB, free: 7.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0076/0.7265, allocations: 1.132 MB / 0.5999 GB, free: 6.141 MB / 478.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.0006803/0.7272, allocations: 161.2 kB / 0.6001 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.7374, allocations: 5.209 MB / 0.6052 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.7374, allocations: 0 / 0.6052 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.7392, allocations: 0.9626 MB / 0.6061 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/0.7429, allocations: 383.3 kB / 0.6065 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/0.7664, allocations: 8.72 MB / 0.615 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007371/0.7738, allocations: 3.272 MB / 0.6182 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00709/0.7809, allocations: 2.279 MB / 0.6204 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.7821, allocations: 227.4 kB / 0.6206 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7821, allocations: 0 / 0.6206 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Templates: time 0.3036/1.086, allocations: 25.6 MB / 0.6456 GB, free: 155.4 MB / 0.4981 GB 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)