Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.01259/0.01259, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001997/0.001996, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3676/0.3676, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001462/0.001462, allocations: 67.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01222/0.3176, allocations: 12.64 MB / 0.4903 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.3265, allocations: 3.714 MB / 0.494 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3292, allocations: 64.66 kB / 0.494 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00626/0.3355, allocations: 3.303 MB / 0.4973 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.3391, allocations: 0.9427 MB / 0.4982 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.3418, allocations: 0.8204 MB / 0.499 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.3456, allocations: 2.399 MB / 0.5013 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.35, allocations: 4.147 MB / 0.5054 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.352, allocations: 1.405 MB / 0.5067 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.3542, allocations: 1.814 MB / 0.5085 GB, free: 436 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007086/0.355, allocations: 369.5 kB / 0.5089 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.3568, allocations: 1.006 MB / 0.5098 GB, free: 80 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.3583, allocations: 1.684 MB / 0.5115 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.3605, allocations: 1.977 MB / 0.5134 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00772/0.3682, allocations: 6.394 MB / 0.5197 GB, free: 8.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3683, allocations: 4 kB / 0.5197 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3683, allocations: 0 / 0.5197 GB, free: 8.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3684, allocations: 0 / 0.5197 GB, free: 8.711 MB / 398.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.009248/0.3777, allocations: 4.286 MB / 0.5239 GB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3777, allocations: 11.89 kB / 0.5239 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.3796, allocations: 0.5031 MB / 0.5244 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.3828, allocations: 1.813 MB / 0.5261 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.383, allocations: 242.1 kB / 0.5264 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.3835, allocations: 315.9 kB / 0.5267 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.4002, allocations: 9.224 MB / 0.5357 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.4003, allocations: 19.81 kB / 0.5357 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.4006, allocations: 139.9 kB / 0.5358 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/0.4034, allocations: 1.588 MB / 0.5374 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4202, allocations: 7.475 MB / 0.5447 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.4614, allocations: 28.17 MB / 0.5722 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008821/0.4703, allocations: 2.454 MB / 0.5746 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.4724, allocations: 1.287 MB / 0.5758 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.4842, allocations: 7.977 MB / 0.5836 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4843, allocations: 47.16 kB / 0.5837 GB, free: 5.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.015e-06/0.4843, allocations: 0 / 0.5837 GB, free: 5.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.02264/0.5069, allocations: 7.683 MB / 0.5912 GB, free: 13.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.5071, allocations: 141.5 kB / 0.5913 GB, free: 13.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/0.5124, allocations: 2.706 MB / 0.594 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003307/0.5127, allocations: 41.7 kB / 0.594 GB, free: 10.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.515, allocations: 2.38 MB / 0.5963 GB, free: 8.227 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/0.5156, allocations: 418.8 kB / 0.5967 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.5171, allocations: 0.8093 MB / 0.5975 GB, free: 6.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5172, allocations: 305.2 kB / 0.5978 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.5203, allocations: 1.273 MB / 0.599 GB, free: 5.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/0.5255, allocations: 3.623 MB / 0.6026 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/0.533, allocations: 5.212 MB / 0.6077 GB, free: 10.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.78e-05/0.5332, allocations: 24 kB / 0.6077 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.01252/0.5457, allocations: 4.804 MB / 0.6124 GB, free: 5.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.5459, allocations: 40 kB / 0.6124 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.546, allocations: 87.98 kB / 0.6125 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.5462, allocations: 108.8 kB / 0.6126 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/0.551, allocations: 0.9865 MB / 0.6136 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/0.5512, allocations: 171.3 kB / 0.6137 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/0.5553, allocations: 211.8 kB / 0.6139 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005049/0.5559, allocations: 240 kB / 0.6142 GB, free: 3.547 MB / 494.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.002671/0.5586, allocations: 1.589 MB / 0.6157 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.559, allocations: 229 kB / 0.6159 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.5617, allocations: 1.521 MB / 0.6174 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5617, allocations: 8 kB / 0.6174 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5617, allocations: 7.938 kB / 0.6174 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5617, allocations: 3.984 kB / 0.6174 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.5727, allocations: 6.137 MB / 0.6234 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.5728, allocations: 24.25 kB / 0.6235 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5739, allocations: 251.5 kB / 0.6237 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.906e-05/0.574, allocations: 24 kB / 0.6237 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5741, allocations: 47.92 kB / 0.6238 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.507e-05/0.5741, allocations: 23.94 kB / 0.6238 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.908e-05/0.5742, allocations: 23.97 kB / 0.6238 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.5775, allocations: 2.151 MB / 0.6259 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.5785, allocations: 322 kB / 0.6262 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.5789, allocations: 47.92 kB / 0.6263 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.58, allocations: 59.95 kB / 0.6263 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.5802, allocations: 124.1 kB / 0.6264 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.5804, allocations: 56 kB / 0.6265 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003579/0.5839, allocations: 1.728 MB / 0.6282 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.584, allocations: 3.938 kB / 0.6282 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004227/0.5882, allocations: 0.6992 MB / 0.6289 GB, free: 3.93 MB / 0.4981 GB 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.0006131/0.5888, allocations: 218.6 kB / 0.6291 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005342/0.5942, allocations: 2.894 MB / 0.6319 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.5942, allocations: 0 / 0.6319 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5954, allocations: 0.7325 MB / 0.6326 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2352/0.8305, allocations: 315 kB / 0.6329 GB, free: 130 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.8467, allocations: 6.93 MB / 0.6397 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.8503, allocations: 2.741 MB / 0.6424 GB, free: 126 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003066/0.8534, allocations: 1.064 MB / 0.6434 GB, free: 126 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.854, allocations: 182 kB / 0.6436 GB, free: 126 MB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/0.854, allocations: 0 / 0.6436 GB, free: 126 MB / 0.4981 GB Notification: Performance of Templates: time 0.04625/0.9002, allocations: 21.11 MB / 0.6642 GB, free: 119.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)