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.001003/0.001004, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.276/1.276, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00186/0.00186, allocations: 110.8 kB / 223.2 MB, free: 4.043 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.1844/0.1844, allocations: 37.99 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.319e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09088, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.48, allocations: 95.75 MB / 0.4897 GB, free: 16.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4803, allocations: 73.66 kB / 0.4898 GB, free: 16.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1596/0.64, allocations: 72.09 MB / 0.5602 GB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.64, allocations: 0 / 0.5602 GB, free: 11.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002065/0.6402, allocations: 79.94 kB / 0.5603 GB, free: 11.71 MB / 378.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.01036/0.6506, allocations: 3.872 MB / 0.564 GB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.6507, allocations: 8.031 kB / 0.564 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.6551, allocations: 0.7319 MB / 0.5648 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/0.6612, allocations: 2.571 MB / 0.5673 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.6615, allocations: 320.5 kB / 0.5676 GB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009545/0.6625, allocations: 431.8 kB / 0.568 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.6839, allocations: 9.06 MB / 0.5768 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.684, allocations: 11.88 kB / 0.5768 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005001/0.6845, allocations: 187.9 kB / 0.577 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/0.686, allocations: 0.8076 MB / 0.5778 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.7024, allocations: 7.176 MB / 0.5848 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04398/0.7464, allocations: 29.67 MB / 0.6138 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/0.7528, allocations: 2.13 MB / 0.6159 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.7541, allocations: 0.9272 MB / 0.6168 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2126/0.9667, allocations: 6.735 MB / 0.6234 GB, free: 98.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.9667, allocations: 48.36 kB / 0.6234 GB, free: 98.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 2.826e-06/0.9667, allocations: 3.75 kB / 0.6234 GB, free: 98.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.01575/0.9825, allocations: 6.88 MB / 0.6301 GB, free: 96.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.9826, allocations: 173.1 kB / 0.6303 GB, free: 96.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.9864, allocations: 2.365 MB / 0.6326 GB, free: 95.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.9866, allocations: 41.08 kB / 0.6326 GB, free: 95.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.988, allocations: 2.526 MB / 0.6351 GB, free: 94.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.9883, allocations: 402.8 kB / 0.6355 GB, free: 94.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.9885, allocations: 75.69 kB / 0.6356 GB, free: 94.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.9887, allocations: 472.8 kB / 0.636 GB, free: 94.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.9902, allocations: 1.05 MB / 0.637 GB, free: 94.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.9927, allocations: 3.369 MB / 0.6403 GB, free: 91.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.9951, allocations: 1.845 MB / 0.6421 GB, free: 91.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-05/0.9951, allocations: 23 kB / 0.6421 GB, free: 91.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.005518/1.001, allocations: 4.344 MB / 0.6464 GB, free: 90.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/1.001, allocations: 42.44 kB / 0.6464 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/1.001, allocations: 83.5 kB / 0.6465 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/1.001, allocations: 120.8 kB / 0.6466 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.003, allocations: 0.9471 MB / 0.6476 GB, free: 90.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/1.004, allocations: 168.4 kB / 0.6477 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.006, allocations: 200.7 kB / 0.6479 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/1.006, allocations: 239.2 kB / 0.6481 GB, free: 90.64 MB / 426.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 () * 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.0003967/1.007, allocations: 431.5 kB / 0.6485 GB, free: 90.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.007, allocations: 231.2 kB / 0.6488 GB, free: 90.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.009, allocations: 1.161 MB / 0.6499 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.009, allocations: 14.66 kB / 0.6499 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.009, allocations: 3.688 kB / 0.6499 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.009, allocations: 12.92 kB / 0.6499 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00932/1.018, allocations: 6.797 MB / 0.6566 GB, free: 88.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.018, allocations: 22.19 kB / 0.6566 GB, free: 88.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/1.019, allocations: 291 kB / 0.6569 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.291e-05/1.019, allocations: 32.06 kB / 0.6569 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/1.02, allocations: 55.66 kB / 0.6569 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/1.02, allocations: 51.66 kB / 0.657 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/1.02, allocations: 31.88 kB / 0.657 GB, free: 88.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/1.023, allocations: 4.561 MB / 0.6615 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/1.023, allocations: 354.2 kB / 0.6618 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.024, allocations: 56.8 kB / 0.6619 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.025, allocations: 62.97 kB / 0.6619 GB, free: 84.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.025, allocations: 166.1 kB / 0.6621 GB, free: 84.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.025, allocations: 73.03 kB / 0.6622 GB, free: 84.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002521/1.027, allocations: 1.745 MB / 0.6639 GB, free: 84.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 0 / 0.6639 GB, free: 84.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003902/1.031, allocations: 0.7022 MB / 0.6646 GB, free: 83.96 MB / 426.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 () * 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.0003278/1.032, allocations: 203.6 kB / 0.6647 GB, free: 83.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003416/1.035, allocations: 2.563 MB / 0.6672 GB, free: 82.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.035, allocations: 3.688 kB / 0.6673 GB, free: 82.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000759/1.036, allocations: 0.7033 MB / 0.6679 GB, free: 82.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.038, allocations: 340 kB / 0.6683 GB, free: 82.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.05, allocations: 6.231 MB / 0.6743 GB, free: 79.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.052, allocations: 3.036 MB / 0.6773 GB, free: 78.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002693/1.055, allocations: 1.037 MB / 0.6783 GB, free: 78.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.055, allocations: 192.4 kB / 0.6785 GB, free: 78.09 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.055, allocations: 0 / 0.6785 GB, free: 78.09 MB / 426.7 MB Notification: Performance of Templates: time 0.04109/1.097, allocations: 21.38 MB / 0.6994 GB, free: 70.96 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)