Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009395, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008845/0.0008846, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3534/0.3534, allocations: 38.03 MB / 308.4 MB, free: 10.43 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.0005749, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2715/0.3878, allocations: 47.7 MB / 481.7 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0215/0.4094, allocations: 9.811 MB / 491.5 MB, free: 20.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.4224, allocations: 213.8 kB / 491.7 MB, free: 20.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008634/0.4311, allocations: 2.26 MB / 493.9 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01933/0.4505, allocations: 6.315 MB / 0.4885 GB, free: 17.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.4537, allocations: 0.5349 MB / 0.4891 GB, free: 17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.4579, allocations: 3.308 MB / 0.4923 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.4686, allocations: 6.451 MB / 0.4986 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.471, allocations: 1.023 MB / 0.4996 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.4739, allocations: 1.585 MB / 0.5011 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.4744, allocations: 150.7 kB / 0.5013 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.4762, allocations: 0.5874 MB / 0.5019 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.4782, allocations: 1.493 MB / 0.5033 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.4795, allocations: 0.7778 MB / 0.5041 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008037/0.4875, allocations: 5.972 MB / 0.5099 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4876, allocations: 0 / 0.5099 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4876, allocations: 0 / 0.5099 GB, free: 8.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.4878, allocations: 0 / 0.5099 GB, free: 8.043 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.009688/0.4975, allocations: 3.778 MB / 0.5136 GB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4976, allocations: 8.938 kB / 0.5136 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.5002, allocations: 0.5393 MB / 0.5141 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.5041, allocations: 2.062 MB / 0.5161 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.5044, allocations: 268.6 kB / 0.5164 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007554/0.5051, allocations: 357.9 kB / 0.5167 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.5243, allocations: 9.251 MB / 0.5258 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.5244, allocations: 15.83 kB / 0.5258 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/0.5248, allocations: 151.9 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.5273, allocations: 1.558 MB / 0.5275 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.5439, allocations: 7.207 MB / 0.5345 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04051/0.5845, allocations: 28.15 MB / 0.562 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/0.5907, allocations: 2.174 MB / 0.5641 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.5923, allocations: 1.089 MB / 0.5652 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.603, allocations: 7.016 MB / 0.572 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6031, allocations: 51.11 kB / 0.5721 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.347e-06/0.6031, allocations: 0 / 0.5721 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.01842/0.6216, allocations: 7.757 MB / 0.5796 GB, free: 5.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6217, allocations: 171.3 kB / 0.5798 GB, free: 5.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/0.6255, allocations: 2.716 MB / 0.5825 GB, free: 2.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.6257, allocations: 45.7 kB / 0.5825 GB, free: 2.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.6275, allocations: 2.501 MB / 0.5849 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.6279, allocations: 414.9 kB / 0.5853 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.6281, allocations: 84 kB / 0.5854 GB, free: 15.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.6284, allocations: 474.6 kB / 0.5859 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.6303, allocations: 1.198 MB / 0.587 GB, free: 13.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.6336, allocations: 3.531 MB / 0.5905 GB, free: 9.039 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.6362, allocations: 1.962 MB / 0.5924 GB, free: 7.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/0.6363, allocations: 27.94 kB / 0.5924 GB, free: 7.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.007081/0.6434, allocations: 4.664 MB / 0.597 GB, free: 2.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.6435, allocations: 40 kB / 0.597 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-05/0.6435, allocations: 80 kB / 0.5971 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.6437, allocations: 127.8 kB / 0.5972 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.6464, allocations: 0.9514 MB / 0.5982 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/0.6465, allocations: 159.7 kB / 0.5983 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.6488, allocations: 211.6 kB / 0.5985 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.6491, allocations: 240 kB / 0.5987 GB, free: 0.5859 MB / 462.1 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 (jointRRP.jointUSP.prismatic.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (514): * Single equations (assignments): 513 * 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.003296/0.6524, allocations: 1.759 MB / 0.6005 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/0.6528, allocations: 236.9 kB / 0.6007 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.6549, allocations: 1.331 MB / 0.602 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.655, allocations: 19.95 kB / 0.602 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.655, allocations: 0 / 0.602 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.655, allocations: 11.97 kB / 0.602 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009637/0.6646, allocations: 6.635 MB / 0.6085 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.6647, allocations: 16 kB / 0.6085 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.6656, allocations: 251.5 kB / 0.6087 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-05/0.6656, allocations: 24 kB / 0.6088 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.6657, allocations: 48.64 kB / 0.6088 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/0.6657, allocations: 39.86 kB / 0.6089 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/0.6658, allocations: 23.92 kB / 0.6089 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.6685, allocations: 2.242 MB / 0.6111 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.6693, allocations: 341.8 kB / 0.6114 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.6696, allocations: 47.98 kB / 0.6114 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/0.6705, allocations: 63.95 kB / 0.6115 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.6707, allocations: 123.9 kB / 0.6116 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.6708, allocations: 64 kB / 0.6117 GB, free: 2.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002831/0.6737, allocations: 1.789 MB / 0.6134 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6737, allocations: 3.938 kB / 0.6134 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003749/0.6774, allocations: 0.7187 MB / 0.6141 GB, free: 220 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (126): * Single equations (assignments): 126 * 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.0003703/0.6778, allocations: 190.7 kB / 0.6143 GB, free: 16 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.6825, allocations: 2.751 MB / 0.617 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6825, allocations: 4 kB / 0.617 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.6837, allocations: 0.7091 MB / 0.6177 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.6863, allocations: 334.4 kB / 0.618 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/0.7028, allocations: 9.048 MB / 0.6269 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1982/0.9011, allocations: 2.954 MB / 0.6297 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002968/0.9041, allocations: 1.02 MB / 0.6307 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.9046, allocations: 188.4 kB / 0.6309 GB, free: 145.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.9046, allocations: 0 / 0.6309 GB, free: 145.7 MB / 494.1 MB Notification: Performance of Templates: time 0.0392/0.9438, allocations: 21.62 MB / 0.652 GB, free: 144.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) Environment - environmentSimulation: