Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.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 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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001475/0.001475, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.724/1.724, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3966/0.3966, allocations: 39.93 MB / 309.4 MB, free: 9.668 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.2. 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.001337/0.001337, allocations: 75.89 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 56.89 MB / 434 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3062/0.448, allocations: 47.56 MB / 481.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.4713, allocations: 9.409 MB / 491 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01182/0.4832, allocations: 187.8 kB / 491.2 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005704/0.489, allocations: 3.207 MB / 494.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.4932, allocations: 0.8535 MB / 495.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.4958, allocations: 0.7753 MB / 496 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004385/0.5002, allocations: 2.408 MB / 498.4 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004968/0.5052, allocations: 4.344 MB / 0.491 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.5078, allocations: 1.425 MB / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.5105, allocations: 1.949 MB / 0.4943 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007984/0.5113, allocations: 369.2 kB / 0.4946 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.5135, allocations: 1.024 MB / 0.4956 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.5153, allocations: 1.702 MB / 0.4973 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.5173, allocations: 1.991 MB / 0.4992 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.5277, allocations: 6.259 MB / 0.5053 GB, free: 8.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.5277, allocations: 0 / 0.5053 GB, free: 8.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5278, allocations: 0 / 0.5053 GB, free: 8.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002618/0.528, allocations: 0 / 0.5053 GB, free: 8.438 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01847/0.5465, allocations: 4.287 MB / 0.5095 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.5466, allocations: 12.48 kB / 0.5095 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.5496, allocations: 0.498 MB / 0.51 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/0.5546, allocations: 1.81 MB / 0.5118 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.5549, allocations: 239.1 kB / 0.512 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5561, allocations: 307.4 kB / 0.5123 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.5771, allocations: 9.226 MB / 0.5213 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.509e-05/0.5772, allocations: 15.88 kB / 0.5213 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/0.5778, allocations: 143.9 kB / 0.5215 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/0.5805, allocations: 1.588 MB / 0.523 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5983, allocations: 7.477 MB / 0.5303 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05098/0.6493, allocations: 28.34 MB / 0.558 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008716/0.6581, allocations: 2.469 MB / 0.5604 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/0.6606, allocations: 1.279 MB / 0.5617 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/0.6736, allocations: 7.977 MB / 0.5694 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.6737, allocations: 51.14 kB / 0.5695 GB, free: 12.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.6737, allocations: 0 / 0.5695 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=101): time 0.02393/0.6976, allocations: 7.667 MB / 0.577 GB, free: 4.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6978, allocations: 145.5 kB / 0.5771 GB, free: 4.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006893/0.7047, allocations: 2.718 MB / 0.5798 GB, free: 1.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004325/0.7052, allocations: 41.7 kB / 0.5798 GB, free: 1.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/0.7077, allocations: 2.384 MB / 0.5821 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.7085, allocations: 411 kB / 0.5825 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/0.7109, allocations: 0.8054 MB / 0.5833 GB, free: 14.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7111, allocations: 309.1 kB / 0.5836 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.7136, allocations: 1.261 MB / 0.5848 GB, free: 12.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/0.7181, allocations: 3.627 MB / 0.5884 GB, free: 7.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006869/0.725, allocations: 5.213 MB / 0.5935 GB, free: 1.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.275e-05/0.7251, allocations: 27.94 kB / 0.5935 GB, free: 1.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.0099/0.735, allocations: 4.793 MB / 0.5982 GB, free: 12.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.7351, allocations: 43.59 kB / 0.5982 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.7352, allocations: 84 kB / 0.5983 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.7354, allocations: 112 kB / 0.5984 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.7388, allocations: 0.9864 MB / 0.5994 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.739, allocations: 167.3 kB / 0.5995 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/0.7421, allocations: 220 kB / 0.5997 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005692/0.7427, allocations: 236 kB / 0.6 GB, free: 10.76 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (511): * Single equations (assignments): 511 * 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 prepare postOptimizeDAE: time 0.003485/0.7462, allocations: 1.593 MB / 0.6015 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006473/0.7468, allocations: 237 kB / 0.6018 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.7498, allocations: 1.521 MB / 0.6032 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7498, allocations: 12 kB / 0.6032 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.7498, allocations: 7.938 kB / 0.6033 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.7498, allocations: 3.984 kB / 0.6033 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.7638, allocations: 6.148 MB / 0.6093 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/0.7639, allocations: 16.22 kB / 0.6093 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.7651, allocations: 247.6 kB / 0.6095 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-05/0.7652, allocations: 20 kB / 0.6095 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.7653, allocations: 47.98 kB / 0.6096 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-05/0.7653, allocations: 31.86 kB / 0.6096 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/0.7654, allocations: 27.81 kB / 0.6096 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.7687, allocations: 2.146 MB / 0.6117 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.7699, allocations: 322 kB / 0.612 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/0.7706, allocations: 39.98 kB / 0.6121 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.7722, allocations: 63.95 kB / 0.6121 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.7724, allocations: 124.1 kB / 0.6123 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7725, allocations: 55.98 kB / 0.6123 GB, free: 13.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003697/0.7762, allocations: 1.731 MB / 0.614 GB, free: 11.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7762, allocations: 0 / 0.614 GB, free: 11.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00538/0.7816, allocations: 0.6992 MB / 0.6147 GB, free: 11.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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.000759/0.7824, allocations: 216.7 kB / 0.6149 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006733/0.7891, allocations: 3.109 MB / 0.6179 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/0.7892, allocations: 4 kB / 0.6179 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.7905, allocations: 0.7286 MB / 0.6186 GB, free: 7.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.7935, allocations: 325.8 kB / 0.619 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2496/1.043, allocations: 8.704 MB / 0.6275 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00527/1.049, allocations: 2.741 MB / 0.6301 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003253/1.052, allocations: 1.066 MB / 0.6312 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/1.052, allocations: 182 kB / 0.6313 GB, free: 148.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/1.052, allocations: 0 / 0.6313 GB, free: 148.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04798/1.1, allocations: 23.51 MB / 0.6543 GB, free: 144.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)