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.001492/0.001493, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00166/0.00166, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.496/1.496, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3984/0.3984, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.001529/0.001529, allocations: 67.03 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1526, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3385/0.4911, allocations: 52.68 MB / 483.9 MB, free: 24.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.5193, allocations: 10.22 MB / 494.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01594/0.5353, allocations: 215.2 kB / 494.3 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006577/0.5419, allocations: 3.835 MB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.5458, allocations: 0.9203 MB / 499.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.5479, allocations: 0.6597 MB / 499.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.5517, allocations: 2.548 MB / 0.4905 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008867/0.5606, allocations: 5.315 MB / 0.4957 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.564, allocations: 1.61 MB / 0.4973 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004484/0.5685, allocations: 2.202 MB / 0.4994 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002353/0.5709, allocations: 466.3 kB / 0.4999 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.5745, allocations: 1.009 MB / 0.5008 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004349/0.5789, allocations: 1.939 MB / 0.5027 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007086/0.586, allocations: 2.248 MB / 0.5049 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.5984, allocations: 7.323 MB / 0.5121 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.5984, allocations: 0 / 0.5121 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5984, allocations: 3.938 kB / 0.5121 GB, free: 4.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000352/0.5988, allocations: 1.5 kB / 0.5121 GB, free: 4.641 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.01708/0.6159, allocations: 4.542 MB / 0.5165 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.616, allocations: 12.58 kB / 0.5165 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.6187, allocations: 0.5294 MB / 0.517 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.6232, allocations: 2.105 MB / 0.5191 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.6235, allocations: 269.1 kB / 0.5194 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000948/0.6245, allocations: 357.1 kB / 0.5197 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.6498, allocations: 9.255 MB / 0.5287 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.6499, allocations: 11.88 kB / 0.5287 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006595/0.6506, allocations: 159.9 kB / 0.5289 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003029/0.6536, allocations: 1.554 MB / 0.5304 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.6741, allocations: 7.226 MB / 0.5375 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07334/0.7475, allocations: 28.16 MB / 0.565 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007579/0.7551, allocations: 2.167 MB / 0.5671 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.7572, allocations: 1.099 MB / 0.5682 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/0.7704, allocations: 7.022 MB / 0.575 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/0.7706, allocations: 43.22 kB / 0.5751 GB, free: 8.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.977e-06/0.7706, allocations: 8 kB / 0.5751 GB, free: 8.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.02787/0.7985, allocations: 7.761 MB / 0.5827 GB, free: 232 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.7988, allocations: 175.2 kB / 0.5828 GB, free: 20 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/0.8041, allocations: 2.74 MB / 0.5855 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.8044, allocations: 41.7 kB / 0.5855 GB, free: 13.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.8063, allocations: 2.501 MB / 0.588 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/0.8069, allocations: 414.8 kB / 0.5884 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.8084, allocations: 0.8329 MB / 0.5892 GB, free: 9.426 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8086, allocations: 305.1 kB / 0.5895 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.8111, allocations: 1.214 MB / 0.5907 GB, free: 7.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/0.8155, allocations: 3.547 MB / 0.5941 GB, free: 3.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00778/0.8233, allocations: 5.07 MB / 0.5991 GB, free: 12.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-05/0.8234, allocations: 24 kB / 0.5991 GB, free: 12.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01101/0.8344, allocations: 4.68 MB / 0.6037 GB, free: 8.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.8346, allocations: 40.19 kB / 0.6037 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/0.8349, allocations: 88 kB / 0.6038 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.8352, allocations: 108 kB / 0.6039 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.8384, allocations: 0.9553 MB / 0.6048 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001499/0.8386, allocations: 163.4 kB / 0.605 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.8422, allocations: 211.5 kB / 0.6052 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/0.8427, allocations: 236 kB / 0.6054 GB, free: 6.465 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.004794/0.8475, allocations: 1.763 MB / 0.6071 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000789/0.8483, allocations: 233 kB / 0.6074 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.8509, allocations: 1.339 MB / 0.6087 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8509, allocations: 12 kB / 0.6087 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.8509, allocations: 0 / 0.6087 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.8509, allocations: 7.984 kB / 0.6087 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.8629, allocations: 6.654 MB / 0.6152 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.863, allocations: 20 kB / 0.6152 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.864, allocations: 247.5 kB / 0.6154 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.864, allocations: 27.98 kB / 0.6155 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/0.8641, allocations: 44 kB / 0.6155 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.795e-05/0.8642, allocations: 31.86 kB / 0.6155 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/0.8642, allocations: 27.88 kB / 0.6156 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.8677, allocations: 2.257 MB / 0.6178 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/0.8686, allocations: 333.8 kB / 0.6181 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.869, allocations: 43.98 kB / 0.6181 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.87, allocations: 63.89 kB / 0.6182 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.8702, allocations: 139.8 kB / 0.6183 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8703, allocations: 56 kB / 0.6184 GB, free: 8.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003525/0.8739, allocations: 1.805 MB / 0.6201 GB, free: 6.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8739, allocations: 0 / 0.6201 GB, free: 6.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004521/0.8784, allocations: 0.7226 MB / 0.6208 GB, free: 6.051 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.000631/0.8791, allocations: 214.5 kB / 0.621 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0067/0.8858, allocations: 2.976 MB / 0.624 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.954e-05/0.8858, allocations: 4 kB / 0.624 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8872, allocations: 0.713 MB / 0.6247 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.8903, allocations: 328.7 kB / 0.625 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3226/1.213, allocations: 9.436 MB / 0.6342 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/1.22, allocations: 2.964 MB / 0.6371 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003659/1.223, allocations: 1.016 MB / 0.6381 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/1.224, allocations: 185.6 kB / 0.6382 GB, free: 148.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.543e-06/1.224, allocations: 2.531 kB / 0.6382 GB, free: 148.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05557/1.28, allocations: 23.08 MB / 0.6608 GB, free: 144.7 MB / 494.1 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)