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.007565/0.007565, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001676/0.001677, allocations: 196.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.332 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.3386/0.3386, allocations: 37.99 MB / 307.9 MB, free: 10.44 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.001785/0.001785, allocations: 71.88 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3932, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01709/0.4104, allocations: 14.25 MB / 0.4919 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4214, allocations: 3.856 MB / 0.4957 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004458/0.4259, allocations: 75.16 kB / 0.4958 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.4335, allocations: 3.941 MB / 0.4996 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.4383, allocations: 1.01 MB / 0.5006 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.4409, allocations: 0.7153 MB / 0.5013 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.4456, allocations: 2.536 MB / 0.5038 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006507/0.4521, allocations: 5.06 MB / 0.5087 GB, free: 48 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.4565, allocations: 1.585 MB / 0.5103 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.4613, allocations: 2.028 MB / 0.5122 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.4626, allocations: 465.9 kB / 0.5127 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.4657, allocations: 1.005 MB / 0.5137 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.4688, allocations: 1.923 MB / 0.5155 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005635/0.4745, allocations: 2.242 MB / 0.5177 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.4866, allocations: 7.469 MB / 0.525 GB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.736e-05/0.4867, allocations: 3.984 kB / 0.525 GB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.105e-06/0.4867, allocations: 0 / 0.525 GB, free: 3.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003717/0.4871, allocations: 3.938 kB / 0.525 GB, free: 3.246 MB / 398.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.01521/0.5024, allocations: 4.533 MB / 0.5295 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.5025, allocations: 19.89 kB / 0.5295 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.5049, allocations: 0.5338 MB / 0.53 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/0.5098, allocations: 2.142 MB / 0.5321 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.51, allocations: 267.3 kB / 0.5323 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/0.5106, allocations: 355.8 kB / 0.5327 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.5307, allocations: 9.258 MB / 0.5417 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.5309, allocations: 23.81 kB / 0.5417 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007289/0.5316, allocations: 151.9 kB / 0.5419 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0028/0.5344, allocations: 1.558 MB / 0.5434 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.5529, allocations: 7.224 MB / 0.5505 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.6064, allocations: 28 MB / 0.5778 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.6139, allocations: 2.173 MB / 0.5799 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.6159, allocations: 1.097 MB / 0.581 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.6276, allocations: 7.011 MB / 0.5878 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6277, allocations: 51.22 kB / 0.5879 GB, free: 1.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 4.709e-06/0.6278, allocations: 3.984 kB / 0.5879 GB, free: 1.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02273/0.6505, allocations: 7.764 MB / 0.5955 GB, free: 9.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.6507, allocations: 171.2 kB / 0.5956 GB, free: 9.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005945/0.6567, allocations: 2.744 MB / 0.5983 GB, free: 6.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.6569, allocations: 45.7 kB / 0.5984 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002875/0.6598, allocations: 2.497 MB / 0.6008 GB, free: 3.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/0.6606, allocations: 414.9 kB / 0.6012 GB, free: 3.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/0.6626, allocations: 0.8288 MB / 0.602 GB, free: 2.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.6628, allocations: 309.1 kB / 0.6023 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.6649, allocations: 1.218 MB / 0.6035 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/0.6693, allocations: 3.539 MB / 0.607 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006709/0.6761, allocations: 5.062 MB / 0.6119 GB, free: 6.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-05/0.6762, allocations: 24 kB / 0.6119 GB, free: 6.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009043/0.6852, allocations: 4.697 MB / 0.6165 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.6853, allocations: 40 kB / 0.6165 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/0.6855, allocations: 80 kB / 0.6166 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.6857, allocations: 112 kB / 0.6167 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.6887, allocations: 0.9518 MB / 0.6177 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/0.6889, allocations: 167.4 kB / 0.6178 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.692, allocations: 215.4 kB / 0.618 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/0.6925, allocations: 240 kB / 0.6183 GB, free: 15.51 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003293/0.6958, allocations: 1.754 MB / 0.62 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000686/0.6965, allocations: 240.9 kB / 0.6202 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6988, allocations: 1.339 MB / 0.6215 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6988, allocations: 8 kB / 0.6215 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6989, allocations: 4 kB / 0.6215 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6989, allocations: 3.984 kB / 0.6215 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.713, allocations: 6.634 MB / 0.628 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.7131, allocations: 20 kB / 0.628 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.7143, allocations: 247.5 kB / 0.6282 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-05/0.7144, allocations: 24 kB / 0.6283 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.7145, allocations: 44 kB / 0.6283 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.571e-05/0.7146, allocations: 31.86 kB / 0.6283 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-05/0.7146, allocations: 28.41 kB / 0.6284 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.7187, allocations: 2.262 MB / 0.6306 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.7201, allocations: 341.8 kB / 0.6309 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/0.7209, allocations: 43.98 kB / 0.6309 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.7225, allocations: 59.95 kB / 0.631 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.7227, allocations: 135.8 kB / 0.6311 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7229, allocations: 56 kB / 0.6312 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.4486/1.171, allocations: 1.808 MB / 0.633 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.52e-07/1.172, allocations: 3.875 kB / 0.633 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005628/1.177, allocations: 0.7181 MB / 0.6337 GB, free: 123.9 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005782/1.178, allocations: 205.2 kB / 0.6339 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.184, allocations: 2.815 MB / 0.6366 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.092e-05/1.184, allocations: 3.156 kB / 0.6366 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.186, allocations: 0.7153 MB / 0.6373 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.188, allocations: 346.4 kB / 0.6376 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.204, allocations: 7.536 MB / 0.645 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005466/1.209, allocations: 2.959 MB / 0.6479 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003574/1.213, allocations: 1.019 MB / 0.6489 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.214, allocations: 186.6 kB / 0.6491 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/1.214, allocations: 0 / 0.6491 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.0527/1.266, allocations: 20.63 MB / 0.6692 GB, free: 111.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile (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)