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.001836/0.001836, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002119/0.002119, allocations: 194.4 kB / 16.14 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.676/1.676, allocations: 205.1 MB / 222 MB, free: 4.754 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.4055/0.4055, allocations: 37.98 MB / 307.3 MB, free: 10.15 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.001633/0.001633, allocations: 61.27 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1401, allocations: 56.48 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2901/0.4302, allocations: 26.32 MB / 457.3 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.4438, allocations: 6.351 MB / 463.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006208/0.4501, allocations: 116.8 kB / 463.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.4535, allocations: 1.647 MB / 465.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.4576, allocations: 1.514 MB / 467 MB, free: 33.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.4596, allocations: 1.182 MB / 468.1 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004963/0.4646, allocations: 5.142 MB / 473.3 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.4675, allocations: 2.515 MB / 475.8 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.4691, allocations: 1.057 MB / 476.9 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.4711, allocations: 1.775 MB / 478.6 MB, free: 30.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004663/0.4716, allocations: 180.6 kB / 478.8 MB, free: 30.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.473, allocations: 0.6871 MB / 479.5 MB, free: 30.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.4746, allocations: 1.605 MB / 481.1 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4764, allocations: 1.926 MB / 483 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.4833, allocations: 6.141 MB / 489.2 MB, free: 26.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4833, allocations: 1.25 kB / 489.2 MB, free: 26.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4833, allocations: 0 / 489.2 MB, free: 26.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.4835, allocations: 3.938 kB / 489.2 MB, free: 26.27 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.01104/0.4946, allocations: 4.198 MB / 493.4 MB, free: 23.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4946, allocations: 10.16 kB / 493.4 MB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.506, allocations: 3.011 MB / 496.4 MB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.5111, allocations: 1.858 MB / 498.2 MB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.5113, allocations: 200.5 kB / 498.4 MB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000827/0.5122, allocations: 259 kB / 498.7 MB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.5326, allocations: 10.53 MB / 0.4973 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.5327, allocations: 36.94 kB / 0.4973 GB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.5332, allocations: 132.8 kB / 0.4974 GB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003819/0.537, allocations: 2.437 MB / 0.4998 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.5547, allocations: 9.364 MB / 0.509 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05341/0.6082, allocations: 38.93 MB / 0.547 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.6145, allocations: 3.497 MB / 0.5504 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.6166, allocations: 1.279 MB / 0.5517 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.627, allocations: 5.453 MB / 0.557 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.6271, allocations: 55.05 kB / 0.557 GB, free: 7.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 4.849e-06/0.6271, allocations: 0 / 0.557 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.00729/0.6344, allocations: 3.358 MB / 0.5603 GB, free: 3.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6346, allocations: 170.7 kB / 0.5605 GB, free: 3.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/0.6413, allocations: 3.952 MB / 0.5643 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.6417, allocations: 41.7 kB / 0.5644 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004138/0.6458, allocations: 3.318 MB / 0.5676 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/0.6476, allocations: 0.6229 MB / 0.5682 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/0.6508, allocations: 1.345 MB / 0.5695 GB, free: 10.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.6511, allocations: 309.1 kB / 0.5698 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/0.6545, allocations: 2.004 MB / 0.5718 GB, free: 8.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006862/0.6614, allocations: 6.311 MB / 0.578 GB, free: 15.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.673, allocations: 9.053 MB / 0.5868 GB, free: 4.426 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/0.6732, allocations: 44 kB / 0.5868 GB, free: 4.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01539/0.6886, allocations: 7.934 MB / 0.5946 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.6888, allocations: 68 kB / 0.5946 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/0.689, allocations: 156 kB / 0.5948 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.6892, allocations: 200 kB / 0.595 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/0.6937, allocations: 1.513 MB / 0.5965 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002165/0.694, allocations: 298.8 kB / 0.5967 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/0.6993, allocations: 0.9374 MB / 0.5977 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008306/0.7001, allocations: 420 kB / 0.5981 GB, free: 8.867 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.003914/0.704, allocations: 2.283 MB / 0.6003 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/0.7046, allocations: 315.8 kB / 0.6006 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/0.7053, allocations: 420.3 kB / 0.601 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.7054, allocations: 43.97 kB / 0.601 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.7054, allocations: 0 / 0.601 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.7054, allocations: 7.984 kB / 0.601 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/0.7142, allocations: 5.703 MB / 0.6066 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.7143, allocations: 8 kB / 0.6066 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.7152, allocations: 207.6 kB / 0.6068 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.7152, allocations: 12 kB / 0.6068 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.7153, allocations: 27.98 kB / 0.6069 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.7153, allocations: 15.94 kB / 0.6069 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.7153, allocations: 11.94 kB / 0.6069 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.7183, allocations: 2.584 MB / 0.6094 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007562/0.719, allocations: 388.6 kB / 0.6098 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.7194, allocations: 27.94 kB / 0.6098 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.7203, allocations: 71.2 kB / 0.6099 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.7205, allocations: 84.28 kB / 0.61 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7206, allocations: 51.98 kB / 0.61 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003586/0.7242, allocations: 2.403 MB / 0.6124 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7242, allocations: 0 / 0.6124 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004961/0.7292, allocations: 1.139 MB / 0.6135 GB, free: 8.875 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.000376/0.7296, allocations: 158.8 kB / 0.6136 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007175/0.7367, allocations: 4.528 MB / 0.618 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7368, allocations: 0 / 0.618 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.738, allocations: 0.9639 MB / 0.619 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.7403, allocations: 343 kB / 0.6193 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.7567, allocations: 10.73 MB / 0.6298 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003723/0.7605, allocations: 3.28 MB / 0.633 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005862/0.7663, allocations: 2.287 MB / 0.6352 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/0.767, allocations: 231.4 kB / 0.6354 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/0.767, allocations: 0 / 0.6354 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.2965/1.064, allocations: 24.79 MB / 0.6597 GB, free: 157.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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)