Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008204/0.008204, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.417/1.417, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3026/0.3026, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005224, allocations: 12 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.5244, allocations: 89.22 MB / 0.489 GB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5248, allocations: 74.08 kB / 0.4891 GB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2105/0.7353, allocations: 85.54 MB / 0.5727 GB, free: 13.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7353, allocations: 0 / 0.5727 GB, free: 13.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.7354, allocations: 68 kB / 0.5727 GB, free: 13.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01139/0.7468, allocations: 3.787 MB / 0.5764 GB, free: 9.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7469, allocations: 8.031 kB / 0.5764 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.7616, allocations: 3.507 MB / 0.5798 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.7745, allocations: 4.155 MB / 0.5839 GB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/0.7751, allocations: 295.7 kB / 0.5842 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/0.7787, allocations: 379.9 kB / 0.5846 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2377/1.016, allocations: 10.3 MB / 0.5946 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/1.017, allocations: 33.44 kB / 0.5946 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007056/1.017, allocations: 173.9 kB / 0.5948 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001512/1.019, allocations: 1.208 MB / 0.596 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/1.038, allocations: 10.01 MB / 0.6058 GB, free: 83.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05037/1.089, allocations: 35.47 MB / 0.6404 GB, free: 66.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008622/1.098, allocations: 4.957 MB / 0.6452 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.099, allocations: 1.881 MB / 0.6471 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.099, allocations: 52 kB / 0.6471 GB, free: 62.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.58e-06/1.099, allocations: 0 / 0.6471 GB, free: 62.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.03089/1.13, allocations: 14.36 MB / 0.6611 GB, free: 57.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.13, allocations: 73.59 kB / 0.6612 GB, free: 57.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/1.135, allocations: 2.37 MB / 0.6635 GB, free: 56.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/1.136, allocations: 59.59 kB / 0.6636 GB, free: 56.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.137, allocations: 2.691 MB / 0.6662 GB, free: 54.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.138, allocations: 0.8474 MB / 0.667 GB, free: 54.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/1.139, allocations: 101.8 kB / 0.6671 GB, free: 54.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000481/1.139, allocations: 0.5289 MB / 0.6677 GB, free: 53.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/1.143, allocations: 2.177 MB / 0.6698 GB, free: 53.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/1.148, allocations: 5.064 MB / 0.6747 GB, free: 48.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/1.153, allocations: 3.326 MB / 0.678 GB, free: 47.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.153, allocations: 27.66 kB / 0.678 GB, free: 47.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01376/1.167, allocations: 7.854 MB / 0.6857 GB, free: 44.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.167, allocations: 48.91 kB / 0.6857 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/1.167, allocations: 101.6 kB / 0.6858 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.169, allocations: 0.8007 MB / 0.6866 GB, free: 44.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/1.173, allocations: 1.196 MB / 0.6878 GB, free: 44.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/1.178, allocations: 4.236 MB / 0.6919 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.182, allocations: 296.5 kB / 0.6922 GB, free: 41.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009206/1.183, allocations: 307 kB / 0.6925 GB, free: 40.9 MB / 426.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 () * Number of clocked 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.004445/1.187, allocations: 2.044 MB / 0.6945 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/1.188, allocations: 264.6 kB / 0.6947 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/1.196, allocations: 4.7 MB / 0.6993 GB, free: 35.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/1.196, allocations: 43.66 kB / 0.6994 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.196, allocations: 6.344 kB / 0.6994 GB, free: 34.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/1.196, allocations: 7.547 kB / 0.6994 GB, free: 34.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.214, allocations: 10.61 MB / 0.7097 GB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.214, allocations: 8 kB / 0.7097 GB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.215, allocations: 365.3 kB / 0.7101 GB, free: 25.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/1.217, allocations: 0.6488 MB / 0.7107 GB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.217, allocations: 49.08 kB / 0.7108 GB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/1.221, allocations: 3.686 MB / 0.7144 GB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.221, allocations: 8 kB / 0.7144 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.231, allocations: 7.66 MB / 0.7219 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.233, allocations: 0.6535 MB / 0.7225 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005347/1.234, allocations: 42.92 kB / 0.7225 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.235, allocations: 139.7 kB / 0.7227 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.235, allocations: 136.4 kB / 0.7228 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.235, allocations: 60 kB / 0.7229 GB, free: 14.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002537/1.238, allocations: 1.618 MB / 0.7244 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.238, allocations: 0 / 0.7244 GB, free: 12.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004803/1.243, allocations: 0.9458 MB / 0.7254 GB, free: 12.01 MB / 426.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 () * Number of clocked 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.0006939/1.243, allocations: 186.3 kB / 0.7255 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007923/1.251, allocations: 5.322 MB / 0.7307 GB, free: 7.141 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.251, allocations: 4 kB / 0.7307 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.254, allocations: 2.013 MB / 0.7327 GB, free: 5.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.256, allocations: 318.3 kB / 0.733 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.273, allocations: 11.27 MB / 0.744 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/1.278, allocations: 3.309 MB / 0.7473 GB, free: 7.246 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00492/1.283, allocations: 1.963 MB / 0.7492 GB, free: 5.281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/1.284, allocations: 207.4 kB / 0.7494 GB, free: 5.078 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/1.284, allocations: 0 / 0.7494 GB, free: 5.078 MB / 442.7 MB Notification: Performance of Templates: time 0.2501/1.534, allocations: 28.81 MB / 0.7775 GB, free: 86.42 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)