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.008107/0.008107, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001742/0.001742, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.66/1.66, 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.3125/0.3125, allocations: 38 MB / 307.9 MB, free: 10.17 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.002653/0.002653, allocations: 71.89 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2908, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01396/0.3048, allocations: 12.64 MB / 0.4903 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008489/0.3134, allocations: 3.71 MB / 0.494 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.3163, allocations: 69.19 kB / 0.494 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006247/0.3227, allocations: 3.306 MB / 0.4973 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.3263, allocations: 0.936 MB / 0.4982 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.3295, allocations: 0.8201 MB / 0.499 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005534/0.335, allocations: 2.405 MB / 0.5013 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006399/0.3414, allocations: 4.139 MB / 0.5054 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.3446, allocations: 1.407 MB / 0.5067 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004084/0.3488, allocations: 1.816 MB / 0.5085 GB, free: 468 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.3498, allocations: 368.6 kB / 0.5089 GB, free: 468 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.3522, allocations: 1.009 MB / 0.5098 GB, free: 112 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.3542, allocations: 1.696 MB / 0.5115 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.3566, allocations: 1.97 MB / 0.5134 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006497/0.3632, allocations: 6.401 MB / 0.5197 GB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3632, allocations: 0 / 0.5197 GB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3632, allocations: 0 / 0.5197 GB, free: 8.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.3633, allocations: 4 kB / 0.5197 GB, free: 8.73 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.008726/0.3721, allocations: 4.278 MB / 0.5239 GB, free: 4.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.3721, allocations: 11.89 kB / 0.5239 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.3739, allocations: 0.5031 MB / 0.5244 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.3775, allocations: 1.821 MB / 0.5261 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.3776, allocations: 234.1 kB / 0.5264 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004761/0.3781, allocations: 319.8 kB / 0.5267 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.3965, allocations: 9.224 MB / 0.5357 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.3966, allocations: 15.88 kB / 0.5357 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.397, allocations: 139.9 kB / 0.5358 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.3997, allocations: 1.592 MB / 0.5374 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.4182, allocations: 7.475 MB / 0.5447 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04248/0.4607, allocations: 28.18 MB / 0.5722 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008381/0.4691, allocations: 2.454 MB / 0.5746 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.4711, allocations: 1.283 MB / 0.5758 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.4832, allocations: 7.977 MB / 0.5836 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.4833, allocations: 47.22 kB / 0.5837 GB, free: 5.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.316e-06/0.4833, allocations: 3.938 kB / 0.5837 GB, free: 5.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.01966/0.503, allocations: 7.675 MB / 0.5912 GB, free: 13.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.5031, allocations: 149.4 kB / 0.5913 GB, free: 13.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.5065, allocations: 2.702 MB / 0.594 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.5066, allocations: 41.7 kB / 0.594 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.508, allocations: 2.38 MB / 0.5963 GB, free: 8.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.5083, allocations: 426.7 kB / 0.5967 GB, free: 7.824 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009847/0.5093, allocations: 0.8133 MB / 0.5975 GB, free: 6.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.5094, allocations: 309.1 kB / 0.5978 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.5113, allocations: 1.261 MB / 0.5991 GB, free: 5.422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.5148, allocations: 3.623 MB / 0.6026 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006044/0.5209, allocations: 5.212 MB / 0.6077 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-05/0.521, allocations: 24 kB / 0.6077 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008641/0.5296, allocations: 4.802 MB / 0.6124 GB, free: 5.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.5297, allocations: 40 kB / 0.6124 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-05/0.5298, allocations: 84.91 kB / 0.6125 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-05/0.5299, allocations: 108 kB / 0.6126 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.5331, allocations: 0.9865 MB / 0.6136 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.5332, allocations: 171.3 kB / 0.6137 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.5358, allocations: 207.8 kB / 0.6139 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.5361, allocations: 240 kB / 0.6142 GB, free: 3.574 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.002821/0.5389, allocations: 1.601 MB / 0.6157 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.5394, allocations: 229 kB / 0.6159 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.5418, allocations: 1.514 MB / 0.6174 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5418, allocations: 12 kB / 0.6174 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5418, allocations: 7.938 kB / 0.6174 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5418, allocations: 7.984 kB / 0.6175 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.5524, allocations: 6.134 MB / 0.6234 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.5525, allocations: 16 kB / 0.6235 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009954/0.5535, allocations: 251.5 kB / 0.6237 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.5535, allocations: 23.94 kB / 0.6237 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.5536, allocations: 48 kB / 0.6238 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/0.5536, allocations: 31.86 kB / 0.6238 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/0.5536, allocations: 19.94 kB / 0.6238 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.5568, allocations: 2.151 MB / 0.6259 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/0.5575, allocations: 326 kB / 0.6262 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.5577, allocations: 40 kB / 0.6263 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009555/0.5587, allocations: 63.94 kB / 0.6263 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.5588, allocations: 124.1 kB / 0.6264 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.5589, allocations: 52 kB / 0.6265 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002565/0.5615, allocations: 1.728 MB / 0.6282 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5615, allocations: 0 / 0.6282 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003337/0.5649, allocations: 0.6992 MB / 0.6289 GB, free: 3.957 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.000473/0.5654, allocations: 226.6 kB / 0.6291 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004431/0.5698, allocations: 2.89 MB / 0.6319 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.5698, allocations: 8.125 kB / 0.6319 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5709, allocations: 0.7241 MB / 0.6326 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2316/0.8025, allocations: 329.4 kB / 0.6329 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.8134, allocations: 6.926 MB / 0.6397 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/0.8162, allocations: 2.748 MB / 0.6424 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002853/0.8191, allocations: 1.061 MB / 0.6434 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.8197, allocations: 181.4 kB / 0.6436 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.8197, allocations: 2 kB / 0.6436 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04908/0.8688, allocations: 21.02 MB / 0.6641 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)