Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001319/0.001318, 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.373/1.373, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001728/0.001728, allocations: 103.4 kB / 218 MB, free: 8.41 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.1691/0.1691, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 2.812 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09322, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4574, allocations: 95.65 MB / 494.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4577, allocations: 74.75 kB / 494.5 MB, free: 17.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1549/0.6127, allocations: 71.8 MB / 0.553 GB, free: 5.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.6127, allocations: 3.938 kB / 0.553 GB, free: 5.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001725/0.6129, allocations: 83.92 kB / 0.5531 GB, free: 5.012 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01269/0.6256, allocations: 4.083 MB / 0.5571 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6257, allocations: 8.031 kB / 0.5571 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.6308, allocations: 0.7592 MB / 0.5578 GB, free: 96 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/0.6378, allocations: 2.56 MB / 0.5603 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.638, allocations: 136 kB / 0.5604 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.6394, allocations: 240 kB / 0.5607 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01123/0.6507, allocations: 6.138 MB / 0.5667 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.6673, allocations: 7.81 MB / 0.5743 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/0.6674, allocations: 15.88 kB / 0.5743 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.6679, allocations: 12 kB / 0.5743 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.6694, allocations: 0.8629 MB / 0.5752 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04744/0.7169, allocations: 30.24 MB / 0.6047 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.72, allocations: 1.94 MB / 0.6066 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.722, allocations: 1.446 MB / 0.608 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.735, allocations: 8.593 MB / 0.6164 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.7351, allocations: 47.34 kB / 0.6164 GB, free: 2.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.188e-06/0.7351, allocations: 0 / 0.6164 GB, free: 2.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.2523/0.9874, allocations: 8.044 MB / 0.6243 GB, free: 102.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.9875, allocations: 114.7 kB / 0.6244 GB, free: 102.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.9904, allocations: 2.165 MB / 0.6265 GB, free: 102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.9905, allocations: 30.23 kB / 0.6265 GB, free: 101.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.9918, allocations: 2.587 MB / 0.6291 GB, free: 100.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.992, allocations: 395.1 kB / 0.6294 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.9922, allocations: 1.312 kB / 0.6294 GB, free: 100.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.9924, allocations: 481 kB / 0.6299 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.9942, allocations: 1.289 MB / 0.6312 GB, free: 100.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.9971, allocations: 3.714 MB / 0.6348 GB, free: 96.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.002, allocations: 2.259 MB / 0.637 GB, free: 96.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.17e-05/1.002, allocations: 25.72 kB / 0.637 GB, free: 96.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.009049/1.011, allocations: 4.677 MB / 0.6416 GB, free: 96.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/1.011, allocations: 43.16 kB / 0.6416 GB, free: 96.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-05/1.011, allocations: 88 kB / 0.6417 GB, free: 96.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/1.011, allocations: 127.1 kB / 0.6418 GB, free: 96.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/1.014, allocations: 1.018 MB / 0.6428 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/1.014, allocations: 178.4 kB / 0.643 GB, free: 96.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.018, allocations: 172.1 kB / 0.6432 GB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/1.018, allocations: 246.8 kB / 0.6434 GB, free: 96.53 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: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (534): * Single equations (assignments): 533 * 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.0005038/1.018, allocations: 350.4 kB / 0.6437 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/1.019, allocations: 210.5 kB / 0.6439 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/1.021, allocations: 1.704 MB / 0.6456 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.021, allocations: 7.812 kB / 0.6456 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.021, allocations: 3.844 kB / 0.6456 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.021, allocations: 9.844 kB / 0.6456 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/1.028, allocations: 5.587 MB / 0.6511 GB, free: 94.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.028, allocations: 16.34 kB / 0.6511 GB, free: 94.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/1.029, allocations: 270.9 kB / 0.6513 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/1.029, allocations: 25.09 kB / 0.6514 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/1.029, allocations: 23.97 kB / 0.6514 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/1.029, allocations: 33.47 kB / 0.6514 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.029, allocations: 26.31 kB / 0.6514 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.032, allocations: 3.504 MB / 0.6549 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/1.032, allocations: 320.2 kB / 0.6552 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/1.032, allocations: 25.05 kB / 0.6552 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/1.033, allocations: 48.75 kB / 0.6552 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.034, allocations: 144.3 kB / 0.6554 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/1.034, allocations: 58.16 kB / 0.6554 GB, free: 91.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001764/1.035, allocations: 1.428 MB / 0.6568 GB, free: 91.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.035, allocations: 2.734 kB / 0.6568 GB, free: 91.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003733/1.039, allocations: 0.6586 MB / 0.6575 GB, free: 91.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.0003289/1.039, allocations: 178.4 kB / 0.6576 GB, free: 91.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/1.043, allocations: 2.863 MB / 0.6604 GB, free: 91.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.043, allocations: 3.125 kB / 0.6604 GB, free: 91.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/1.044, allocations: 0.7606 MB / 0.6612 GB, free: 90.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.046, allocations: 232.8 kB / 0.6614 GB, free: 90.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.058, allocations: 6.132 MB / 0.6674 GB, free: 87.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/1.062, allocations: 3.022 MB / 0.6703 GB, free: 86.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003089/1.065, allocations: 1.016 MB / 0.6713 GB, free: 86.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/1.066, allocations: 175.3 kB / 0.6715 GB, free: 86.62 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/1.066, allocations: 0 / 0.6715 GB, free: 86.62 MB / 426.7 MB Notification: Performance of Templates: time 0.03906/1.105, allocations: 19.7 MB / 0.6907 GB, free: 84.01 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)