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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001028, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.418/1.418, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001625/0.001625, allocations: 111.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1698/0.1698, allocations: 37.98 MB / 295.1 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.564e-05, allocations: 3.469 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07861, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4121, allocations: 95.09 MB / 493.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4123, allocations: 74.48 kB / 493.9 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1613/0.5736, allocations: 70.29 MB / 0.551 GB, free: 7.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5737, allocations: 0 / 0.551 GB, free: 7.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002552/0.5739, allocations: 76 kB / 0.551 GB, free: 7.086 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01406/0.588, allocations: 3.872 MB / 0.5548 GB, free: 3.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5881, allocations: 8.031 kB / 0.5548 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/0.5936, allocations: 0.7319 MB / 0.5555 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.6053, allocations: 2.575 MB / 0.5581 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.6057, allocations: 136 kB / 0.5582 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.6084, allocations: 251.8 kB / 0.5584 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02091/0.6293, allocations: 5.712 MB / 0.564 GB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.6583, allocations: 7.418 MB / 0.5713 GB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/0.6586, allocations: 19.81 kB / 0.5713 GB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/0.6611, allocations: 12 kB / 0.5713 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003049/0.6642, allocations: 0.8121 MB / 0.5721 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07596/0.7401, allocations: 27.63 MB / 0.5991 GB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/0.7442, allocations: 1.301 MB / 0.6003 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.7466, allocations: 0.846 MB / 0.6012 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/0.7624, allocations: 6.301 MB / 0.6073 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.7625, allocations: 39.12 kB / 0.6073 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 9.939e-06/0.7625, allocations: 0 / 0.6073 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.02113/0.7837, allocations: 5.721 MB / 0.6129 GB, free: 5.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.7839, allocations: 162.8 kB / 0.6131 GB, free: 5.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.7889, allocations: 2.048 MB / 0.6151 GB, free: 3.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003077/0.7893, allocations: 25.7 kB / 0.6151 GB, free: 3.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003002/0.7923, allocations: 2.611 MB / 0.6177 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.7929, allocations: 332.1 kB / 0.618 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.793, allocations: 0 / 0.618 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/0.7934, allocations: 470.3 kB / 0.6184 GB, free: 180 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2245/1.018, allocations: 0.9315 MB / 0.6193 GB, free: 102.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/1.021, allocations: 3.339 MB / 0.6226 GB, free: 99.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/1.024, allocations: 1.723 MB / 0.6243 GB, free: 99.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-05/1.024, allocations: 27.78 kB / 0.6243 GB, free: 99.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.006615/1.03, allocations: 3.756 MB / 0.628 GB, free: 99.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.837e-05/1.031, allocations: 44.27 kB / 0.628 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.031, allocations: 86.72 kB / 0.6281 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/1.031, allocations: 127.7 kB / 0.6282 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.034, allocations: 0.9342 MB / 0.6291 GB, free: 99.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/1.034, allocations: 176.5 kB / 0.6293 GB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.037, allocations: 132.6 kB / 0.6294 GB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005138/1.037, allocations: 242.8 kB / 0.6297 GB, free: 99.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 43 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 497 * 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.000583/1.038, allocations: 334.5 kB / 0.63 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.038, allocations: 218 kB / 0.6302 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.04, allocations: 0.939 MB / 0.6311 GB, free: 98.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.04, allocations: 13.58 kB / 0.6311 GB, free: 98.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.04, allocations: 4.875 kB / 0.6311 GB, free: 98.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.04, allocations: 4.844 kB / 0.6311 GB, free: 98.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/1.049, allocations: 4.719 MB / 0.6357 GB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-05/1.049, allocations: 22.56 kB / 0.6358 GB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.05, allocations: 250.3 kB / 0.636 GB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-05/1.05, allocations: 28.59 kB / 0.636 GB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/1.05, allocations: 27.58 kB / 0.636 GB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.902e-05/1.05, allocations: 37.55 kB / 0.6361 GB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-05/1.05, allocations: 29.78 kB / 0.6361 GB, free: 97.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.054, allocations: 3.585 MB / 0.6396 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008307/1.055, allocations: 308.3 kB / 0.6399 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/1.055, allocations: 30.41 kB / 0.6399 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/1.056, allocations: 37.11 kB / 0.64 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.056, allocations: 145.3 kB / 0.6401 GB, free: 94.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/1.056, allocations: 60.47 kB / 0.6402 GB, free: 94.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002278/1.058, allocations: 1.355 MB / 0.6415 GB, free: 94.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.058, allocations: 0 / 0.6415 GB, free: 94.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003786/1.062, allocations: 0.5893 MB / 0.6421 GB, free: 94.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003397/1.063, allocations: 180.2 kB / 0.6422 GB, free: 93.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002982/1.066, allocations: 2.22 MB / 0.6444 GB, free: 93.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.066, allocations: 3.875 kB / 0.6444 GB, free: 93.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006359/1.066, allocations: 0.5716 MB / 0.645 GB, free: 93.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/1.067, allocations: 240.8 kB / 0.6452 GB, free: 93.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.079, allocations: 5.893 MB / 0.651 GB, free: 91.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.082, allocations: 3.018 MB / 0.6539 GB, free: 91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002919/1.084, allocations: 1.015 MB / 0.6549 GB, free: 90.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/1.085, allocations: 168.5 kB / 0.6551 GB, free: 90.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.085, allocations: 0 / 0.6551 GB, free: 90.88 MB / 426.7 MB Notification: Performance of Templates: time 0.03795/1.123, allocations: 16.61 MB / 0.6713 GB, free: 89.82 MB / 426.7 MB 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)