Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008183/0.008183, allocations: 166.7 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.483/1.483, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001638/0.001638, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.2823/0.2823, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 15.98 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.0937, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/0.3668, allocations: 94.46 MB / 0.4942 GB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.3671, allocations: 82.73 kB / 0.4942 GB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1837/0.5508, allocations: 75.69 MB / 0.5682 GB, free: 2.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5509, allocations: 0 / 0.5682 GB, free: 2.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.551, allocations: 72 kB / 0.5682 GB, free: 2.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.009859/0.5609, allocations: 3.957 MB / 0.5721 GB, free: 14.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5609, allocations: 12.03 kB / 0.5721 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.5645, allocations: 0.6769 MB / 0.5728 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005256/0.5698, allocations: 2.212 MB / 0.5749 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.5701, allocations: 291.7 kB / 0.5752 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.5712, allocations: 383.9 kB / 0.5756 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.5892, allocations: 8.935 MB / 0.5843 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/0.5893, allocations: 20.84 kB / 0.5843 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.5898, allocations: 167.9 kB / 0.5845 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/0.5912, allocations: 0.8349 MB / 0.5853 GB, free: 468 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1856/0.7769, allocations: 7.294 MB / 0.5924 GB, free: 88.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/0.8138, allocations: 29 MB / 0.6207 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.8213, allocations: 2.281 MB / 0.623 GB, free: 76.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009412/0.8307, allocations: 7.6 MB / 0.6304 GB, free: 71.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.8308, allocations: 44.75 kB / 0.6304 GB, free: 71.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 4.729e-06/0.8308, allocations: 0 / 0.6304 GB, free: 71.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02159/0.8524, allocations: 7.133 MB / 0.6374 GB, free: 68.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.8525, allocations: 140.2 kB / 0.6375 GB, free: 68.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.8561, allocations: 2.33 MB / 0.6398 GB, free: 67.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.8563, allocations: 42.98 kB / 0.6398 GB, free: 67.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.8576, allocations: 2.411 MB / 0.6422 GB, free: 65.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.858, allocations: 399.9 kB / 0.6426 GB, free: 65.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.8581, allocations: 74.84 kB / 0.6427 GB, free: 65.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8583, allocations: 470.6 kB / 0.6431 GB, free: 65.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.8598, allocations: 1.068 MB / 0.6441 GB, free: 64.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.8623, allocations: 3.446 MB / 0.6475 GB, free: 61.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.8646, allocations: 1.835 MB / 0.6493 GB, free: 60.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.678e-05/0.8646, allocations: 27.61 kB / 0.6493 GB, free: 60.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.00612/0.8708, allocations: 4.408 MB / 0.6536 GB, free: 58.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.8709, allocations: 42.38 kB / 0.6537 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.369e-05/0.871, allocations: 84.56 kB / 0.6538 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.966e-05/0.8711, allocations: 127.9 kB / 0.6539 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.8736, allocations: 0.9429 MB / 0.6548 GB, free: 58.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.883e-05/0.8738, allocations: 173.5 kB / 0.655 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.8766, allocations: 193.7 kB / 0.6552 GB, free: 58.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/0.8769, allocations: 233.1 kB / 0.6554 GB, free: 58.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (497): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002633/0.8796, allocations: 1.594 MB / 0.6569 GB, free: 57.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.8801, allocations: 227.5 kB / 0.6571 GB, free: 57.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.8821, allocations: 1.376 MB / 0.6585 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.8821, allocations: 11.03 kB / 0.6585 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8821, allocations: 0 / 0.6585 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.8821, allocations: 7.5 kB / 0.6585 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.8922, allocations: 6.169 MB / 0.6645 GB, free: 54.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.8923, allocations: 22.38 kB / 0.6646 GB, free: 54.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.893, allocations: 242.3 kB / 0.6648 GB, free: 54.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.8931, allocations: 28.78 kB / 0.6648 GB, free: 54.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.8931, allocations: 48 kB / 0.6649 GB, free: 54.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.038e-05/0.8932, allocations: 39.75 kB / 0.6649 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.8932, allocations: 25.88 kB / 0.6649 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.8955, allocations: 3.575 MB / 0.6684 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.8962, allocations: 321.4 kB / 0.6687 GB, free: 50.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.8964, allocations: 51.11 kB / 0.6688 GB, free: 50.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.8973, allocations: 52 kB / 0.6688 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.8974, allocations: 143.8 kB / 0.669 GB, free: 50.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.8975, allocations: 51.59 kB / 0.669 GB, free: 50.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002102/0.8996, allocations: 1.662 MB / 0.6706 GB, free: 49.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8996, allocations: 3.938 kB / 0.6706 GB, free: 49.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004211/0.9038, allocations: 0.6789 MB / 0.6713 GB, free: 49.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (130): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005391/0.9044, allocations: 210.3 kB / 0.6715 GB, free: 49.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.9086, allocations: 2.527 MB / 0.674 GB, free: 48.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.9086, allocations: 3.625 kB / 0.674 GB, free: 48.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.9094, allocations: 0.6102 MB / 0.6746 GB, free: 48.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.9112, allocations: 296.2 kB / 0.6748 GB, free: 48.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.9244, allocations: 8.208 MB / 0.6829 GB, free: 43.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/0.9281, allocations: 2.802 MB / 0.6856 GB, free: 42.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002862/0.9309, allocations: 1.043 MB / 0.6866 GB, free: 42.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.9314, allocations: 176.7 kB / 0.6868 GB, free: 42 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.9314, allocations: 0 / 0.6868 GB, free: 42 MB / 426.7 MB Notification: Performance of Templates: time 0.03582/0.9672, allocations: 20.35 MB / 0.7066 GB, free: 33.04 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)