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.007499/0.007499, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00169/0.00169, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3417/0.3417, allocations: 38 MB / 307.9 MB, free: 10.09 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.001415/0.001415, allocations: 71.89 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4222, 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.01629/0.4386, allocations: 14.25 MB / 0.4919 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.4499, allocations: 3.85 MB / 0.4957 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.4541, allocations: 75.62 kB / 0.4958 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00814/0.4623, allocations: 3.942 MB / 0.4996 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.4677, allocations: 1.009 MB / 0.5006 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.4703, allocations: 0.7239 MB / 0.5013 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.4761, allocations: 2.532 MB / 0.5038 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00684/0.483, allocations: 5.057 MB / 0.5087 GB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.4862, allocations: 1.577 MB / 0.5102 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.4896, allocations: 2.035 MB / 0.5122 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009468/0.4906, allocations: 467.8 kB / 0.5127 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4932, allocations: 1.007 MB / 0.5137 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.4953, allocations: 1.907 MB / 0.5155 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.4978, allocations: 2.242 MB / 0.5177 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008437/0.5063, allocations: 7.498 MB / 0.525 GB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5063, allocations: 0 / 0.525 GB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5063, allocations: 0 / 0.525 GB, free: 3.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.5065, allocations: 0 / 0.525 GB, free: 3.211 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.01102/0.5175, allocations: 4.647 MB / 0.5296 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.5176, allocations: 19.89 kB / 0.5296 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5197, allocations: 0.56 MB / 0.5301 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.5242, allocations: 2.15 MB / 0.5322 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.5245, allocations: 267.3 kB / 0.5325 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007168/0.5252, allocations: 363.8 kB / 0.5328 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/0.5481, allocations: 9.258 MB / 0.5419 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/0.5483, allocations: 19.86 kB / 0.5419 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.5499, allocations: 155.9 kB / 0.5421 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003108/0.553, allocations: 1.558 MB / 0.5436 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/0.5728, allocations: 7.216 MB / 0.5506 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/0.6282, allocations: 28.07 MB / 0.578 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007928/0.6362, allocations: 2.174 MB / 0.5802 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.6383, allocations: 1.092 MB / 0.5812 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.6499, allocations: 7.036 MB / 0.5881 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.211e-05/0.6501, allocations: 47.22 kB / 0.5881 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 6.753e-06/0.6501, allocations: 0 / 0.5881 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.0254/0.6755, allocations: 8.014 MB / 0.596 GB, free: 8.789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/0.6758, allocations: 167.2 kB / 0.5961 GB, free: 8.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.681, allocations: 2.756 MB / 0.5988 GB, free: 5.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.6812, allocations: 41.7 kB / 0.5989 GB, free: 5.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/0.6838, allocations: 2.598 MB / 0.6014 GB, free: 3.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008409/0.6846, allocations: 436.8 kB / 0.6018 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.6862, allocations: 0.8296 MB / 0.6026 GB, free: 1.875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6863, allocations: 305.1 kB / 0.6029 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.6885, allocations: 1.214 MB / 0.6041 GB, free: 360 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.6942, allocations: 3.543 MB / 0.6076 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008715/0.7029, allocations: 5.066 MB / 0.6125 GB, free: 5.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.435e-05/0.7031, allocations: 24 kB / 0.6125 GB, free: 5.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01078/0.7138, allocations: 4.709 MB / 0.6171 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.7139, allocations: 40 kB / 0.6172 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.565e-05/0.714, allocations: 84 kB / 0.6172 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.7142, allocations: 108 kB / 0.6173 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/0.7173, allocations: 0.9518 MB / 0.6183 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001548/0.7175, allocations: 167.4 kB / 0.6184 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.7204, allocations: 203.8 kB / 0.6186 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.7207, allocations: 244 kB / 0.6189 GB, free: 14.9 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.003797/0.7245, allocations: 1.762 MB / 0.6206 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/0.7251, allocations: 250.5 kB / 0.6208 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.7276, allocations: 1.339 MB / 0.6221 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7276, allocations: 15.98 kB / 0.6221 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7276, allocations: 0 / 0.6221 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7276, allocations: 3.984 kB / 0.6221 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7394, allocations: 6.639 MB / 0.6286 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.7394, allocations: 16 kB / 0.6286 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009597/0.7404, allocations: 247.5 kB / 0.6289 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.559e-05/0.7404, allocations: 24 kB / 0.6289 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.7405, allocations: 47.98 kB / 0.629 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.7405, allocations: 35.86 kB / 0.629 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.891e-05/0.7406, allocations: 28.34 kB / 0.629 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.7439, allocations: 2.263 MB / 0.6312 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.7447, allocations: 359.2 kB / 0.6316 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005682/0.7453, allocations: 43.98 kB / 0.6316 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7464, allocations: 59.95 kB / 0.6317 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.7466, allocations: 135.8 kB / 0.6318 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/0.7467, allocations: 56 kB / 0.6318 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.356/1.103, allocations: 1.811 MB / 0.6336 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.103, allocations: 0 / 0.6336 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005127/1.108, allocations: 0.7173 MB / 0.6343 GB, free: 123.1 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.0005269/1.108, allocations: 212.6 kB / 0.6345 GB, free: 123 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00576/1.114, allocations: 2.822 MB / 0.6373 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/1.114, allocations: 3.188 kB / 0.6373 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.116, allocations: 0.712 MB / 0.638 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.118, allocations: 341.4 kB / 0.6383 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/1.135, allocations: 7.652 MB / 0.6458 GB, free: 118 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004889/1.14, allocations: 2.959 MB / 0.6487 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003967/1.144, allocations: 1.017 MB / 0.6497 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/1.145, allocations: 188 kB / 0.6498 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.883e-06/1.145, allocations: 0 / 0.6498 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.05026/1.195, allocations: 20.75 MB / 0.6701 GB, free: 110.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)