Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007781/0.007781, allocations: 164 kB / 15.11 MB, free: 5.973 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.408/1.408, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001635/0.001635, allocations: 107.3 kB / 226.2 MB, free: 10.1 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.3421/0.3421, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005103, allocations: 8 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1155, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/0.3804, allocations: 96.41 MB / 0.4961 GB, free: 7.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.3807, allocations: 79.61 kB / 0.4962 GB, free: 7.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1763/0.557, allocations: 73.59 MB / 0.568 GB, free: 2.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.557, allocations: 0 / 0.568 GB, free: 2.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000224/0.5573, allocations: 76 kB / 0.5681 GB, free: 2.66 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01192/0.5692, allocations: 4.282 MB / 0.5723 GB, free: 14.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5693, allocations: 8.031 kB / 0.5723 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.5739, allocations: 0.7603 MB / 0.573 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008375/0.5823, allocations: 2.573 MB / 0.5755 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.5828, allocations: 324.4 kB / 0.5758 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/0.5849, allocations: 419.9 kB / 0.5762 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2087/0.7936, allocations: 9.939 MB / 0.586 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.7939, allocations: 19.25 kB / 0.586 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.7956, allocations: 185.2 kB / 0.5861 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/0.7976, allocations: 0.8564 MB / 0.587 GB, free: 83.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.8167, allocations: 8.509 MB / 0.5953 GB, free: 83.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04275/0.8594, allocations: 31.84 MB / 0.6264 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009235/0.8687, allocations: 3.019 MB / 0.6293 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.8811, allocations: 8.979 MB / 0.6381 GB, free: 64.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.8812, allocations: 44.56 kB / 0.6381 GB, free: 64.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.446e-06/0.8812, allocations: 0 / 0.6381 GB, free: 64.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.0232/0.9044, allocations: 8.721 MB / 0.6467 GB, free: 61.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.9045, allocations: 118.2 kB / 0.6468 GB, free: 61.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.9078, allocations: 2.519 MB / 0.6492 GB, free: 60.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.908, allocations: 41.48 kB / 0.6493 GB, free: 60.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.9092, allocations: 2.504 MB / 0.6517 GB, free: 58.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.9095, allocations: 438.8 kB / 0.6521 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.9097, allocations: 81.34 kB / 0.6522 GB, free: 57.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.9099, allocations: 475.9 kB / 0.6527 GB, free: 57.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.9118, allocations: 1.435 MB / 0.6541 GB, free: 56.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.9145, allocations: 3.747 MB / 0.6577 GB, free: 53.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.9171, allocations: 2.217 MB / 0.6599 GB, free: 52.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.9171, allocations: 23.59 kB / 0.6599 GB, free: 52.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.006821/0.924, allocations: 5.159 MB / 0.665 GB, free: 50.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.9241, allocations: 39.03 kB / 0.665 GB, free: 50.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.371e-05/0.9241, allocations: 80.03 kB / 0.6651 GB, free: 50.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-05/0.9243, allocations: 122.7 kB / 0.6652 GB, free: 50.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.9271, allocations: 0.996 MB / 0.6662 GB, free: 50.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.583e-05/0.9272, allocations: 164.5 kB / 0.6663 GB, free: 50.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.9298, allocations: 240 kB / 0.6665 GB, free: 50.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.9301, allocations: 239.8 kB / 0.6668 GB, free: 49.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.002562/0.9326, allocations: 1.762 MB / 0.6685 GB, free: 49.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/0.933, allocations: 236.5 kB / 0.6687 GB, free: 48.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.9356, allocations: 2.058 MB / 0.6707 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9357, allocations: 13.75 kB / 0.6707 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.9357, allocations: 7.688 kB / 0.6708 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.9357, allocations: 7.078 kB / 0.6708 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009474/0.9452, allocations: 6.977 MB / 0.6776 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.9452, allocations: 18.06 kB / 0.6776 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009747/0.9462, allocations: 290.6 kB / 0.6779 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.9462, allocations: 28.28 kB / 0.6779 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.9463, allocations: 51.5 kB / 0.6779 GB, free: 44.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.841e-05/0.9463, allocations: 37.84 kB / 0.678 GB, free: 44.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.9464, allocations: 26.56 kB / 0.678 GB, free: 44.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.949, allocations: 4.254 MB / 0.6822 GB, free: 40.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.9497, allocations: 356.7 kB / 0.6825 GB, free: 40.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.9499, allocations: 52.73 kB / 0.6825 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/0.9509, allocations: 75.38 kB / 0.6826 GB, free: 40.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.9511, allocations: 155.5 kB / 0.6828 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.9511, allocations: 58.62 kB / 0.6828 GB, free: 40.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00209/0.9532, allocations: 1.789 MB / 0.6846 GB, free: 39.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9532, allocations: 0 / 0.6846 GB, free: 39.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003024/0.9563, allocations: 0.7582 MB / 0.6853 GB, free: 39.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (155): * Single equations (assignments): 155 * 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.0003398/0.9566, allocations: 224.3 kB / 0.6855 GB, free: 39.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003866/0.9605, allocations: 3.194 MB / 0.6886 GB, free: 38.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.9605, allocations: 3.531 kB / 0.6886 GB, free: 38.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.9615, allocations: 0.8832 MB / 0.6895 GB, free: 37.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9629, allocations: 303.2 kB / 0.6898 GB, free: 37.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.9754, allocations: 9.236 MB / 0.6988 GB, free: 32.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003035/0.9785, allocations: 3.028 MB / 0.7018 GB, free: 30.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002726/0.9812, allocations: 1.043 MB / 0.7028 GB, free: 30.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.9817, allocations: 190.8 kB / 0.703 GB, free: 29.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9817, allocations: 0 / 0.703 GB, free: 29.96 MB / 426.7 MB Notification: Performance of Templates: time 0.03903/1.021, allocations: 24.57 MB / 0.727 GB, free: 11.79 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)