Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001738/0.001738, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.513/1.513, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 115.2 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2168/0.2168, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.232e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5453, allocations: 95.94 MB / 0.5382 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5458, allocations: 73.7 kB / 0.5382 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2599/0.8056, allocations: 85.65 MB / 0.6219 GB, free: 13.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8057, allocations: 0 / 0.6219 GB, free: 13.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001364/0.8059, allocations: 79.94 kB / 0.622 GB, free: 13.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.0124/0.8183, allocations: 3.643 MB / 0.6255 GB, free: 9.938 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.8184, allocations: 16.03 kB / 0.6255 GB, free: 9.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.834, allocations: 3.516 MB / 0.629 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.8465, allocations: 4.136 MB / 0.633 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.8469, allocations: 295.7 kB / 0.6333 GB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/0.8497, allocations: 403.7 kB / 0.6337 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03291/0.8827, allocations: 10.21 MB / 0.6436 GB, free: 6.875 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.883, allocations: 23.81 kB / 0.6437 GB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/0.8859, allocations: 175.9 kB / 0.6438 GB, free: 6.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.8885, allocations: 1.207 MB / 0.645 GB, free: 5.469 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.9109, allocations: 9.871 MB / 0.6546 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3184/1.229, allocations: 35.47 MB / 0.6893 GB, free: 94.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.24, allocations: 4.933 MB / 0.6941 GB, free: 93.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/1.243, allocations: 2.272 MB / 0.6963 GB, free: 93.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/1.245, allocations: 1.881 MB / 0.6982 GB, free: 91.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/1.245, allocations: 66.56 kB / 0.6982 GB, free: 91.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 7.154e-06/1.245, allocations: 0 / 0.6982 GB, free: 91.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.02587/1.271, allocations: 11.24 MB / 0.7092 GB, free: 90.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/1.271, allocations: 71.97 kB / 0.7093 GB, free: 90.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/1.275, allocations: 2.345 MB / 0.7116 GB, free: 90.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/1.275, allocations: 58.58 kB / 0.7116 GB, free: 90.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.277, allocations: 2.686 MB / 0.7142 GB, free: 89.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000908/1.277, allocations: 0.8535 MB / 0.7151 GB, free: 88.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/1.278, allocations: 102.6 kB / 0.7152 GB, free: 88.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003656/1.278, allocations: 0.5295 MB / 0.7157 GB, free: 88.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/1.281, allocations: 2.139 MB / 0.7178 GB, free: 88.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/1.285, allocations: 5.037 MB / 0.7227 GB, free: 84.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/1.289, allocations: 3.313 MB / 0.7259 GB, free: 83.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.139e-05/1.289, allocations: 33.52 kB / 0.726 GB, free: 83.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0122/1.302, allocations: 7.777 MB / 0.7336 GB, free: 81.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/1.302, allocations: 47.97 kB / 0.7336 GB, free: 81.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/1.302, allocations: 101.7 kB / 0.7337 GB, free: 81.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.304, allocations: 0.7993 MB / 0.7345 GB, free: 80.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/1.308, allocations: 1.196 MB / 0.7356 GB, free: 80.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/1.313, allocations: 4.128 MB / 0.7397 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.317, allocations: 297.4 kB / 0.74 GB, free: 78.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009364/1.318, allocations: 303 kB / 0.7402 GB, free: 78.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 629 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001539/1.319, allocations: 496.4 kB / 0.7407 GB, free: 78.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006716/1.32, allocations: 267 kB / 0.741 GB, free: 77.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008105/1.328, allocations: 4.673 MB / 0.7455 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/1.328, allocations: 43.97 kB / 0.7456 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.328, allocations: 0 / 0.7456 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.328, allocations: 10.39 kB / 0.7456 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.352, allocations: 10.59 MB / 0.7559 GB, free: 71.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.352, allocations: 4 kB / 0.7559 GB, free: 71.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.353, allocations: 363 kB / 0.7563 GB, free: 71.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.355, allocations: 0.6522 MB / 0.7569 GB, free: 71.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003127/1.356, allocations: 39.7 kB / 0.757 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/1.36, allocations: 3.584 MB / 0.7605 GB, free: 67.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.36, allocations: 17.86 kB / 0.7605 GB, free: 67.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009984/1.37, allocations: 7.612 MB / 0.7679 GB, free: 60.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.372, allocations: 0.6458 MB / 0.7685 GB, free: 60.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.373, allocations: 47 kB / 0.7686 GB, free: 60.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.374, allocations: 137.8 kB / 0.7687 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/1.375, allocations: 130.2 kB / 0.7688 GB, free: 60.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.375, allocations: 69.19 kB / 0.7689 GB, free: 60.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003127/1.378, allocations: 1.588 MB / 0.7705 GB, free: 58.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.378, allocations: 0 / 0.7705 GB, free: 58.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005313/1.383, allocations: 0.9423 MB / 0.7714 GB, free: 57.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/1.384, allocations: 184.6 kB / 0.7716 GB, free: 57.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/1.392, allocations: 5.268 MB / 0.7767 GB, free: 52.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.392, allocations: 0.5 kB / 0.7767 GB, free: 52.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/1.395, allocations: 2.002 MB / 0.7787 GB, free: 50.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/1.397, allocations: 314.5 kB / 0.779 GB, free: 50.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.413, allocations: 7.983 MB / 0.7868 GB, free: 43.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/1.417, allocations: 3.3 MB / 0.79 GB, free: 40.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004347/1.422, allocations: 1.965 MB / 0.7919 GB, free: 39.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/1.422, allocations: 199.2 kB / 0.7921 GB, free: 39.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.103e-06/1.422, allocations: 0 / 0.7921 GB, free: 39.44 MB / 474.7 MB Notification: Performance of Templates: time 0.0545/1.477, allocations: 28.83 MB / 0.8202 GB, free: 13.22 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)