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.002488/0.002488, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.421/1.421, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.00165/0.001649, allocations: 119.2 kB / 247.4 MB, free: 6.219 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.1809/0.1809, allocations: 39.93 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.133e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07525/0.07528, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.316/0.3913, allocations: 95.27 MB / 0.5307 GB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.3916, allocations: 71.72 kB / 0.5308 GB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2131/0.6047, allocations: 84.13 MB / 0.613 GB, free: 8.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6047, allocations: 0 / 0.613 GB, free: 8.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.6049, allocations: 68 kB / 0.613 GB, free: 8.457 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01331/0.6182, allocations: 3.651 MB / 0.6166 GB, free: 4.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6183, allocations: 8.031 kB / 0.6166 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.6336, allocations: 3.508 MB / 0.62 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.6447, allocations: 4.14 MB / 0.6241 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.6449, allocations: 124 kB / 0.6242 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.6472, allocations: 231.9 kB / 0.6244 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01302/0.6602, allocations: 7.259 MB / 0.6315 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.6784, allocations: 9.475 MB / 0.6407 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.6786, allocations: 31.75 kB / 0.6408 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.6796, allocations: 12 kB / 0.6408 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001777/0.6814, allocations: 1.211 MB / 0.642 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2956/0.977, allocations: 32.97 MB / 0.6742 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.9816, allocations: 4.182 MB / 0.6782 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.9841, allocations: 2.231 MB / 0.6804 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.9854, allocations: 1.88 MB / 0.6823 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.9854, allocations: 54.34 kB / 0.6823 GB, free: 104.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=231): time 4.458e-06/0.9854, allocations: 0 / 0.6823 GB, free: 104.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=238): time 0.03258/1.018, allocations: 14.05 MB / 0.696 GB, free: 103.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/1.018, allocations: 71.41 kB / 0.6961 GB, free: 103.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/1.021, allocations: 2.244 MB / 0.6983 GB, free: 102.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00039/1.021, allocations: 25.7 kB / 0.6983 GB, free: 102.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.023, allocations: 2.792 MB / 0.701 GB, free: 101.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000872/1.024, allocations: 0.8437 MB / 0.7019 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.024, allocations: 0 / 0.7019 GB, free: 100.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/1.024, allocations: 0.6004 MB / 0.7025 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.027, allocations: 2.126 MB / 0.7045 GB, free: 100.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/1.03, allocations: 5.247 MB / 0.7097 GB, free: 96.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/1.034, allocations: 3.377 MB / 0.713 GB, free: 95.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.333e-05/1.034, allocations: 31.91 kB / 0.713 GB, free: 95.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.01123/1.045, allocations: 7.454 MB / 0.7203 GB, free: 93.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/1.045, allocations: 53.67 kB / 0.7203 GB, free: 93.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.045, allocations: 111.4 kB / 0.7204 GB, free: 93.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/1.048, allocations: 0.8244 MB / 0.7212 GB, free: 93.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/1.052, allocations: 1.282 MB / 0.7225 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/1.057, allocations: 3.975 MB / 0.7264 GB, free: 91.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/1.061, allocations: 202.1 kB / 0.7265 GB, free: 91.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.062, allocations: 329.6 kB / 0.7269 GB, free: 91.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * 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 (684): * Single equations (assignments): 677 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001603/1.064, allocations: 379.9 kB / 0.7272 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/1.064, allocations: 266 kB / 0.7275 GB, free: 91.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007705/1.072, allocations: 4.571 MB / 0.7319 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-05/1.072, allocations: 47.11 kB / 0.732 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.072, allocations: 3.562 kB / 0.732 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/1.072, allocations: 10.88 kB / 0.732 GB, free: 89.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/1.089, allocations: 9.57 MB / 0.7413 GB, free: 85.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/1.089, allocations: 8 kB / 0.7414 GB, free: 85.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.091, allocations: 367.9 kB / 0.7417 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/1.093, allocations: 0.6548 MB / 0.7423 GB, free: 85.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.093, allocations: 15.56 kB / 0.7424 GB, free: 85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/1.097, allocations: 3.463 MB / 0.7457 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/1.097, allocations: 15.47 kB / 0.7458 GB, free: 81.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009194/1.106, allocations: 7.587 MB / 0.7532 GB, free: 75.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.107, allocations: 0.646 MB / 0.7538 GB, free: 74.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005842/1.108, allocations: 12.62 kB / 0.7538 GB, free: 74.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.109, allocations: 106.3 kB / 0.7539 GB, free: 74.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/1.11, allocations: 135.6 kB / 0.754 GB, free: 74.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.11, allocations: 64.7 kB / 0.7541 GB, free: 74.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002671/1.113, allocations: 1.468 MB / 0.7555 GB, free: 72.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.113, allocations: 0 / 0.7555 GB, free: 72.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005747/1.118, allocations: 0.8264 MB / 0.7563 GB, free: 72.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (181): * Single equations (assignments): 174 * 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.0007298/1.119, allocations: 155.4 kB / 0.7565 GB, free: 71.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008132/1.127, allocations: 5.183 MB / 0.7616 GB, free: 67.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.127, allocations: 4 kB / 0.7616 GB, free: 67.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.13, allocations: 1.956 MB / 0.7635 GB, free: 65.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.132, allocations: 223.8 kB / 0.7637 GB, free: 65.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.149, allocations: 7.97 MB / 0.7715 GB, free: 58.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.155, allocations: 3.309 MB / 0.7747 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005091/1.16, allocations: 2.071 MB / 0.7767 GB, free: 54.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/1.161, allocations: 202.1 kB / 0.7769 GB, free: 54.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/1.161, allocations: 0 / 0.7769 GB, free: 54.09 MB / 474.7 MB Notification: Performance of Templates: time 0.04846/1.209, allocations: 25.56 MB / 0.8019 GB, free: 32.96 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)