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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.001431/0.001431, allocations: 169.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.22/1.22, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001567/0.001568, allocations: 102.8 kB / 223.2 MB, free: 4.051 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.1803/0.1803, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.118e-05, allocations: 3.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09166, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4643, allocations: 94.36 MB / 0.4883 GB, free: 16.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4646, allocations: 71.94 kB / 0.4884 GB, free: 16.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1797/0.6444, allocations: 75.76 MB / 0.5624 GB, free: 9.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6444, allocations: 0 / 0.5624 GB, free: 9.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.6446, allocations: 76 kB / 0.5625 GB, free: 9.32 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01312/0.6577, allocations: 3.793 MB / 0.5662 GB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.6578, allocations: 12.03 kB / 0.5662 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.6629, allocations: 0.6815 MB / 0.5668 GB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.6698, allocations: 2.201 MB / 0.569 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.6702, allocations: 295.7 kB / 0.5693 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.6722, allocations: 375.9 kB / 0.5696 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.6953, allocations: 8.835 MB / 0.5783 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.278e-05/0.6954, allocations: 19.81 kB / 0.5783 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/0.6959, allocations: 171.9 kB / 0.5784 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001621/0.6976, allocations: 0.8349 MB / 0.5793 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.7151, allocations: 7.171 MB / 0.5863 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.764, allocations: 29 MB / 0.6146 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007438/0.7715, allocations: 2.267 MB / 0.6168 GB, free: 348 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2707/1.042, allocations: 1.052 MB / 0.6178 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/1.053, allocations: 7.595 MB / 0.6252 GB, free: 99.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.053, allocations: 46.75 kB / 0.6253 GB, free: 99.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 4.428e-06/1.053, allocations: 0 / 0.6253 GB, free: 99.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01928/1.072, allocations: 6.479 MB / 0.6316 GB, free: 97.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/1.072, allocations: 143.8 kB / 0.6318 GB, free: 97.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/1.077, allocations: 2.305 MB / 0.634 GB, free: 96.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/1.077, allocations: 43.11 kB / 0.634 GB, free: 96.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.079, allocations: 2.42 MB / 0.6364 GB, free: 95.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/1.079, allocations: 393.3 kB / 0.6368 GB, free: 95.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.079, allocations: 76.91 kB / 0.6369 GB, free: 95.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/1.079, allocations: 470.6 kB / 0.6373 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.081, allocations: 1.041 MB / 0.6383 GB, free: 95.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/1.083, allocations: 3.424 MB / 0.6417 GB, free: 92.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.085, allocations: 1.839 MB / 0.6435 GB, free: 92.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/1.085, allocations: 22.41 kB / 0.6435 GB, free: 92.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.006435/1.092, allocations: 4.354 MB / 0.6477 GB, free: 91.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/1.092, allocations: 46.14 kB / 0.6478 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/1.092, allocations: 84.66 kB / 0.6479 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/1.092, allocations: 127.2 kB / 0.648 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/1.094, allocations: 0.9405 MB / 0.6489 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001356/1.095, allocations: 167.3 kB / 0.6491 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.097, allocations: 192.3 kB / 0.6492 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.098, allocations: 239.2 kB / 0.6495 GB, free: 91.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (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.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 (497): * Single equations (assignments): 497 * 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 prepare postOptimizeDAE: time 0.0004829/1.098, allocations: 420.1 kB / 0.6499 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/1.099, allocations: 233.9 kB / 0.6501 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/1.101, allocations: 1.361 MB / 0.6514 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.101, allocations: 11.19 kB / 0.6514 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.101, allocations: 3.25 kB / 0.6514 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.101, allocations: 6.25 kB / 0.6514 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008539/1.109, allocations: 6.152 MB / 0.6575 GB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.109, allocations: 23.78 kB / 0.6575 GB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/1.11, allocations: 246.8 kB / 0.6577 GB, free: 89.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/1.11, allocations: 29.97 kB / 0.6577 GB, free: 89.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.11, allocations: 45.34 kB / 0.6578 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.001e-05/1.11, allocations: 34.23 kB / 0.6578 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.11, allocations: 25.88 kB / 0.6578 GB, free: 89.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/1.113, allocations: 3.549 MB / 0.6613 GB, free: 86.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/1.113, allocations: 325.2 kB / 0.6616 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/1.113, allocations: 52.22 kB / 0.6617 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/1.114, allocations: 49.72 kB / 0.6617 GB, free: 86.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.114, allocations: 136.7 kB / 0.6618 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/1.114, allocations: 52.47 kB / 0.6619 GB, free: 85.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002252/1.117, allocations: 1.641 MB / 0.6635 GB, free: 85.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 0.6635 GB, free: 85.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004226/1.121, allocations: 0.6811 MB / 0.6642 GB, free: 85.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0004129/1.121, allocations: 202 kB / 0.6644 GB, free: 85.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004135/1.126, allocations: 2.49 MB / 0.6668 GB, free: 84.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.126, allocations: 3.562 kB / 0.6668 GB, free: 84.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007308/1.126, allocations: 0.6024 MB / 0.6674 GB, free: 83.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.128, allocations: 302.9 kB / 0.6677 GB, free: 83.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.139, allocations: 5.509 MB / 0.673 GB, free: 81.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/1.141, allocations: 2.809 MB / 0.6758 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003261/1.145, allocations: 1.04 MB / 0.6768 GB, free: 80.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/1.145, allocations: 177.3 kB / 0.677 GB, free: 80.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/1.145, allocations: 0 / 0.677 GB, free: 80.01 MB / 426.7 MB Notification: Performance of Templates: time 0.03718/1.182, allocations: 20.36 MB / 0.6969 GB, free: 73.33 MB / 426.7 MB 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)