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.0007447/0.0007447, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005249/0.005249, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.314/0.314, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.000531/0.0005309, allocations: 20.7 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2807/0.4034, allocations: 51.29 MB / 485.9 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.4274, allocations: 10.22 MB / 496.1 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01094/0.4384, allocations: 214.9 kB / 496.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.4397, allocations: 368.4 kB / 496.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.4422, allocations: 0.9534 MB / 497.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4436, allocations: 0.6407 MB / 498.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.4476, allocations: 4.137 MB / 0.4906 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009083/0.4567, allocations: 7.301 MB / 0.4977 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.4587, allocations: 0.9868 MB / 0.4987 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.4612, allocations: 1.62 MB / 0.5003 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005008/0.4617, allocations: 142.6 kB / 0.5004 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.4635, allocations: 0.749 MB / 0.5011 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.4653, allocations: 1.536 MB / 0.5026 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.4678, allocations: 1.81 MB / 0.5044 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4819, allocations: 6.908 MB / 0.5112 GB, free: 7.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.482, allocations: 1.062 kB / 0.5112 GB, free: 7.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.482, allocations: 0 / 0.5112 GB, free: 7.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004137/0.4825, allocations: 0 / 0.5112 GB, free: 7.117 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.009842/0.4923, allocations: 3.729 MB / 0.5148 GB, free: 4.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4924, allocations: 8.469 kB / 0.5148 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.4951, allocations: 0.5362 MB / 0.5153 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/0.4994, allocations: 2.102 MB / 0.5174 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.4997, allocations: 264.2 kB / 0.5176 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009703/0.5007, allocations: 357.2 kB / 0.518 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.5187, allocations: 9.288 MB / 0.527 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-05/0.5188, allocations: 15.88 kB / 0.5271 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.5192, allocations: 155.9 kB / 0.5272 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.5219, allocations: 1.565 MB / 0.5287 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.5378, allocations: 7.234 MB / 0.5358 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.5851, allocations: 28.18 MB / 0.5633 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007058/0.5922, allocations: 2.169 MB / 0.5654 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.594, allocations: 1.09 MB / 0.5665 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.6044, allocations: 7.024 MB / 0.5734 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.6045, allocations: 47.22 kB / 0.5734 GB, free: 12.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.697e-06/0.6045, allocations: 0 / 0.5734 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.0233/0.6278, allocations: 7.773 MB / 0.581 GB, free: 4.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6279, allocations: 171.2 kB / 0.5812 GB, free: 4.113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/0.6333, allocations: 2.74 MB / 0.5838 GB, free: 1.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.6335, allocations: 41.7 kB / 0.5839 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.6357, allocations: 2.505 MB / 0.5863 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.6363, allocations: 407 kB / 0.5867 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007449/0.637, allocations: 366.3 kB / 0.5871 GB, free: 14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6372, allocations: 313 kB / 0.5874 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.6397, allocations: 1.214 MB / 0.5885 GB, free: 12.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/0.644, allocations: 3.539 MB / 0.592 GB, free: 7.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007065/0.651, allocations: 5.073 MB / 0.597 GB, free: 1.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-05/0.6511, allocations: 24 kB / 0.597 GB, free: 1.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009445/0.6606, allocations: 4.683 MB / 0.6016 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.6607, allocations: 42.97 kB / 0.6016 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.6608, allocations: 84.84 kB / 0.6017 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.661, allocations: 108 kB / 0.6018 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.6643, allocations: 0.9553 MB / 0.6027 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001678/0.6644, allocations: 163.4 kB / 0.6029 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.6675, allocations: 207.6 kB / 0.6031 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/0.6679, allocations: 240 kB / 0.6033 GB, free: 11.04 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003948/0.6719, allocations: 1.763 MB / 0.605 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006325/0.6725, allocations: 240.9 kB / 0.6052 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.6751, allocations: 1.339 MB / 0.6066 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.6751, allocations: 12 kB / 0.6066 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6751, allocations: 3.984 kB / 0.6066 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6752, allocations: 7.922 kB / 0.6066 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6896, allocations: 6.658 MB / 0.6131 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.6897, allocations: 20 kB / 0.6131 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6907, allocations: 251.7 kB / 0.6133 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/0.6908, allocations: 24 kB / 0.6134 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.6909, allocations: 47.98 kB / 0.6134 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/0.691, allocations: 35.86 kB / 0.6134 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/0.691, allocations: 23.88 kB / 0.6135 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.6946, allocations: 2.249 MB / 0.6157 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6957, allocations: 341.8 kB / 0.616 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007552/0.6964, allocations: 47.98 kB / 0.616 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.698, allocations: 59.95 kB / 0.6161 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.6982, allocations: 127.9 kB / 0.6162 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.6984, allocations: 59.98 kB / 0.6163 GB, free: 13.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004119/0.7025, allocations: 1.816 MB / 0.618 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7025, allocations: 0 / 0.618 GB, free: 11.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005359/0.7079, allocations: 0.7148 MB / 0.6187 GB, free: 10.61 MB / 494.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 (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.0005981/0.7085, allocations: 206.7 kB / 0.6189 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005247/0.7137, allocations: 2.775 MB / 0.6216 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.7138, allocations: 8.188 kB / 0.6217 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.715, allocations: 0.7076 MB / 0.6223 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008634/0.7236, allocations: 337.6 kB / 0.6227 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2228/0.9465, allocations: 9.466 MB / 0.6319 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/0.9494, allocations: 2.965 MB / 0.6348 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002651/0.952, allocations: 1.02 MB / 0.6358 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.9525, allocations: 184.7 kB / 0.636 GB, free: 144.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9525, allocations: 0 / 0.636 GB, free: 144.3 MB / 494.1 MB Notification: Performance of Templates: time 0.04582/0.9984, allocations: 22.08 MB / 0.6575 GB, free: 141.7 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: