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.005408/0.005408, allocations: 101.1 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.001216/0.001216, allocations: 186.5 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.395 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.3609/0.3609, allocations: 37.99 MB / 307.9 MB, free: 10.29 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.002257/0.002257, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3585, allocations: 56.46 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.0137/0.3722, allocations: 14.26 MB / 0.4919 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3827, allocations: 3.843 MB / 0.4957 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/0.3869, allocations: 83.59 kB / 0.4958 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008195/0.3951, allocations: 3.942 MB / 0.4996 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.3999, allocations: 1.013 MB / 0.5006 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.4025, allocations: 0.7162 MB / 0.5013 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005763/0.4083, allocations: 2.545 MB / 0.5038 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007879/0.4162, allocations: 5.049 MB / 0.5087 GB, free: 56 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.4204, allocations: 1.585 MB / 0.5103 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.4249, allocations: 2.024 MB / 0.5122 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.4264, allocations: 466.3 kB / 0.5127 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4295, allocations: 1.016 MB / 0.5137 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.4329, allocations: 1.905 MB / 0.5155 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005866/0.4388, allocations: 2.243 MB / 0.5177 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4488, allocations: 7.477 MB / 0.525 GB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4489, allocations: 0 / 0.525 GB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.4489, allocations: 0 / 0.525 GB, free: 3.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002314/0.4491, allocations: 0 / 0.525 GB, free: 3.23 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.01164/0.4608, allocations: 4.533 MB / 0.5294 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4608, allocations: 15.89 kB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.4631, allocations: 0.5378 MB / 0.53 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.4678, allocations: 2.142 MB / 0.5321 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.468, allocations: 267.3 kB / 0.5323 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007855/0.4688, allocations: 355.8 kB / 0.5327 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.4877, allocations: 9.266 MB / 0.5417 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.4878, allocations: 15.88 kB / 0.5417 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.4882, allocations: 151.9 kB / 0.5419 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.4908, allocations: 1.558 MB / 0.5434 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.5084, allocations: 7.22 MB / 0.5505 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.5571, allocations: 28 MB / 0.5778 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/0.5646, allocations: 2.173 MB / 0.5799 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.5667, allocations: 1.097 MB / 0.581 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.5786, allocations: 7.011 MB / 0.5878 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.5787, allocations: 55.22 kB / 0.5879 GB, free: 1.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.606e-06/0.5787, allocations: 0 / 0.5879 GB, free: 1.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02491/0.6036, allocations: 7.772 MB / 0.5955 GB, free: 9.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.6039, allocations: 167.2 kB / 0.5956 GB, free: 9.055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.6084, allocations: 2.744 MB / 0.5983 GB, free: 6.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/0.6087, allocations: 41.7 kB / 0.5984 GB, free: 6.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002256/0.6109, allocations: 2.501 MB / 0.6008 GB, free: 3.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000804/0.6118, allocations: 415 kB / 0.6012 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.6133, allocations: 0.8288 MB / 0.602 GB, free: 2.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6135, allocations: 305.1 kB / 0.6023 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.6155, allocations: 1.218 MB / 0.6035 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.6191, allocations: 3.539 MB / 0.6069 GB, free: 12.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/0.6256, allocations: 5.066 MB / 0.6119 GB, free: 6.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.169e-05/0.6257, allocations: 24 kB / 0.6119 GB, free: 5.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008398/0.6341, allocations: 4.689 MB / 0.6165 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.6342, allocations: 44.03 kB / 0.6165 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.6343, allocations: 80 kB / 0.6166 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.6344, allocations: 112 kB / 0.6167 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.6373, allocations: 0.9552 MB / 0.6176 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001227/0.6374, allocations: 155.5 kB / 0.6178 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.6403, allocations: 215.4 kB / 0.618 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/0.6406, allocations: 240 kB / 0.6182 GB, free: 15.5 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.003116/0.6437, allocations: 1.766 MB / 0.62 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.6442, allocations: 233 kB / 0.6202 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.6466, allocations: 1.335 MB / 0.6215 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6466, allocations: 8 kB / 0.6215 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6466, allocations: 4 kB / 0.6215 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6466, allocations: 7.969 kB / 0.6215 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.6584, allocations: 6.635 MB / 0.628 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/0.6585, allocations: 24.03 kB / 0.628 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.6595, allocations: 251.5 kB / 0.6282 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.517e-05/0.6595, allocations: 24 kB / 0.6283 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/0.6596, allocations: 47.98 kB / 0.6283 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-05/0.6597, allocations: 31.88 kB / 0.6283 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/0.6597, allocations: 27.86 kB / 0.6284 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/0.6629, allocations: 2.25 MB / 0.6306 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/0.6637, allocations: 337.8 kB / 0.6309 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.664, allocations: 47.98 kB / 0.6309 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.665, allocations: 59.95 kB / 0.631 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.6652, allocations: 135.8 kB / 0.6311 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6653, allocations: 63.98 kB / 0.6312 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.4001/1.065, allocations: 1.806 MB / 0.6329 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.065, allocations: 0 / 0.6329 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006474/1.072, allocations: 0.7162 MB / 0.6336 GB, free: 123.8 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.0006622/1.073, allocations: 209.9 kB / 0.6338 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006386/1.079, allocations: 2.813 MB / 0.6366 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.052e-05/1.079, allocations: 2.062 kB / 0.6366 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.081, allocations: 0.7194 MB / 0.6373 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/1.084, allocations: 342.1 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.01724/1.101, allocations: 7.527 MB / 0.645 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.107, allocations: 2.967 MB / 0.6479 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004372/1.111, allocations: 1.015 MB / 0.6489 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/1.112, allocations: 190.5 kB / 0.649 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.112, allocations: 3.938 kB / 0.649 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.05665/1.168, allocations: 20.74 MB / 0.6693 GB, free: 111.2 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)