Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005075/0.005075, allocations: 175.6 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.422/1.422, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001839/0.001839, allocations: 124.5 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2188/0.2188, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004293, allocations: 16.5 kB / 406.2 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 54.87 MB / 461 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.687, allocations: 102.4 MB / 0.5502 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.6874, allocations: 80.77 kB / 0.5503 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1658/0.8531, allocations: 72.04 MB / 0.6206 GB, free: 6.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.8532, allocations: 0 / 0.6206 GB, free: 6.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003001/0.8535, allocations: 76 kB / 0.6207 GB, free: 6.535 MB / 394.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.01666/0.8702, allocations: 4.071 MB / 0.6247 GB, free: 2.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.8703, allocations: 11.97 kB / 0.6247 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005908/0.8762, allocations: 0.7227 MB / 0.6254 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009058/0.8853, allocations: 2.579 MB / 0.6279 GB, free: 48 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005056/0.8858, allocations: 328.6 kB / 0.6282 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.8882, allocations: 423.8 kB / 0.6286 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02927/0.9175, allocations: 9.169 MB / 0.6376 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/0.9178, allocations: 19.81 kB / 0.6376 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/0.9199, allocations: 195.9 kB / 0.6378 GB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.9219, allocations: 0.796 MB / 0.6386 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/0.9427, allocations: 7.303 MB / 0.6457 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/0.999, allocations: 29.66 MB / 0.6746 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007592/1.007, allocations: 2.18 MB / 0.6768 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.018, allocations: 6.729 MB / 0.6833 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/1.018, allocations: 47.12 kB / 0.6834 GB, free: 5.434 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 3.627e-06/1.018, allocations: 0 / 0.6834 GB, free: 5.434 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.023/1.041, allocations: 7.496 MB / 0.6907 GB, free: 13.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.041, allocations: 175.2 kB / 0.6909 GB, free: 13.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/1.047, allocations: 2.387 MB / 0.6932 GB, free: 11.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.047, allocations: 45.7 kB / 0.6933 GB, free: 11.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.05, allocations: 2.52 MB / 0.6957 GB, free: 8.652 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006617/1.05, allocations: 395.1 kB / 0.6961 GB, free: 8.262 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/1.051, allocations: 80 kB / 0.6962 GB, free: 8.184 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004574/1.051, allocations: 474.2 kB / 0.6966 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/1.054, allocations: 1.093 MB / 0.6977 GB, free: 6.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/1.058, allocations: 3.42 MB / 0.701 GB, free: 2.055 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.061, allocations: 1.857 MB / 0.7028 GB, free: 204 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/1.061, allocations: 20 kB / 0.7029 GB, free: 184 kB / 474.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.007381/1.069, allocations: 4.442 MB / 0.7072 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/1.069, allocations: 40 kB / 0.7072 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.192e-05/1.069, allocations: 84.91 kB / 0.7073 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/1.069, allocations: 120 kB / 0.7074 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/1.072, allocations: 0.9436 MB / 0.7084 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/1.072, allocations: 163.4 kB / 0.7085 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.075, allocations: 211.5 kB / 0.7087 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.075, allocations: 236 kB / 0.7089 GB, free: 9.949 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 500 * 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.003592/1.079, allocations: 1.749 MB / 0.7106 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/1.079, allocations: 240.8 kB / 0.7109 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/1.081, allocations: 1.182 MB / 0.712 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.081, allocations: 12 kB / 0.712 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.081, allocations: 0 / 0.712 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.081, allocations: 3.984 kB / 0.712 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3341/1.415, allocations: 6.804 MB / 0.7187 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/1.416, allocations: 25.5 kB / 0.7187 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.417, allocations: 288.4 kB / 0.719 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-05/1.417, allocations: 33.7 kB / 0.719 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.417, allocations: 58.95 kB / 0.7191 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/1.417, allocations: 51.36 kB / 0.7191 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-05/1.417, allocations: 34.03 kB / 0.7192 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/1.421, allocations: 4.604 MB / 0.7237 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/1.422, allocations: 353.4 kB / 0.724 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/1.422, allocations: 56.09 kB / 0.724 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.423, allocations: 70.48 kB / 0.7241 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/1.424, allocations: 163.8 kB / 0.7243 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.424, allocations: 68.81 kB / 0.7243 GB, free: 118.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003737/1.427, allocations: 1.763 MB / 0.7261 GB, free: 118.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.427, allocations: 0 / 0.7261 GB, free: 118.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004478/1.432, allocations: 0.7083 MB / 0.7267 GB, free: 118.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * 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 (147): * Single equations (assignments): 147 * 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.0005104/1.432, allocations: 210.5 kB / 0.7269 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/1.438, allocations: 2.628 MB / 0.7295 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.438, allocations: 6.344 kB / 0.7295 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.439, allocations: 0.7341 MB / 0.7302 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.442, allocations: 335.7 kB / 0.7306 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.465, allocations: 9.127 MB / 0.7395 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005942/1.471, allocations: 3.04 MB / 0.7424 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003647/1.475, allocations: 1.039 MB / 0.7435 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/1.476, allocations: 195.7 kB / 0.7436 GB, free: 113.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.476, allocations: 2.953 kB / 0.7436 GB, free: 113.5 MB / 490.7 MB Notification: Performance of Templates: time 0.05227/1.528, allocations: 21.37 MB / 0.7645 GB, free: 112.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)