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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00163/0.00163, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.456/1.456, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3022/0.3022, allocations: 37.97 MB / 307.4 MB, free: 10.12 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.00141/0.00141, allocations: 70.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 56.47 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2759/0.3984, allocations: 47.56 MB / 478.8 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.418, allocations: 9.416 MB / 488.2 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01089/0.429, allocations: 195.4 kB / 488.4 MB, free: 21.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.4347, allocations: 3.192 MB / 491.6 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.4378, allocations: 0.8657 MB / 492.4 MB, free: 19.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.4397, allocations: 0.7709 MB / 493.2 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.4428, allocations: 2.411 MB / 495.6 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005338/0.4482, allocations: 4.35 MB / 500 MB, free: 16.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.4509, allocations: 1.423 MB / 0.4896 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.4544, allocations: 1.957 MB / 0.4915 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009716/0.4554, allocations: 369.7 kB / 0.4919 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.4575, allocations: 1.015 MB / 0.4929 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.4592, allocations: 1.697 MB / 0.4945 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004061/0.4633, allocations: 1.993 MB / 0.4965 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009396/0.4727, allocations: 6.25 MB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4727, allocations: 0 / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4728, allocations: 1.188 kB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000334/0.4731, allocations: 0 / 0.5026 GB, free: 10.52 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.01309/0.4862, allocations: 4.297 MB / 0.5068 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4863, allocations: 13.52 kB / 0.5068 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.4887, allocations: 0.4943 MB / 0.5073 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.4927, allocations: 1.805 MB / 0.509 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.4929, allocations: 239.1 kB / 0.5093 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007504/0.4936, allocations: 313.2 kB / 0.5096 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.5143, allocations: 9.23 MB / 0.5186 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/0.5144, allocations: 13.44 kB / 0.5186 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.5148, allocations: 139.5 kB / 0.5187 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00245/0.5173, allocations: 1.591 MB / 0.5203 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.5356, allocations: 7.476 MB / 0.5276 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.5842, allocations: 28.33 MB / 0.5553 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0085/0.5927, allocations: 2.465 MB / 0.5577 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.595, allocations: 1.283 MB / 0.5589 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.6069, allocations: 7.989 MB / 0.5667 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.607, allocations: 47.09 kB / 0.5668 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.307e-06/0.607, allocations: 0 / 0.5668 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.02083/0.6278, allocations: 7.671 MB / 0.5743 GB, free: 8.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.628, allocations: 145.5 kB / 0.5744 GB, free: 8.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.6316, allocations: 2.71 MB / 0.577 GB, free: 5.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.6319, allocations: 45.7 kB / 0.5771 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.6335, allocations: 2.384 MB / 0.5794 GB, free: 3.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.634, allocations: 410.9 kB / 0.5798 GB, free: 3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.6351, allocations: 0.8132 MB / 0.5806 GB, free: 2.172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.6352, allocations: 301.1 kB / 0.5809 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.6371, allocations: 1.269 MB / 0.5821 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003912/0.6411, allocations: 3.627 MB / 0.5857 GB, free: 11.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/0.6477, allocations: 5.205 MB / 0.5907 GB, free: 5.402 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-05/0.6479, allocations: 27.94 kB / 0.5908 GB, free: 5.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008469/0.6563, allocations: 4.793 MB / 0.5955 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.6564, allocations: 43.98 kB / 0.5955 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-05/0.6565, allocations: 84 kB / 0.5956 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.6566, allocations: 108 kB / 0.5957 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/0.6599, allocations: 0.983 MB / 0.5966 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001578/0.66, allocations: 175.3 kB / 0.5968 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.663, allocations: 207.8 kB / 0.597 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/0.6635, allocations: 240 kB / 0.5972 GB, free: 14.75 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.003768/0.6673, allocations: 1.605 MB / 0.5988 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007192/0.6681, allocations: 229 kB / 0.599 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.6713, allocations: 1.518 MB / 0.6005 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.6713, allocations: 8 kB / 0.6005 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.6713, allocations: 11.88 kB / 0.6005 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6713, allocations: 3.984 kB / 0.6005 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.6886, allocations: 6.152 MB / 0.6065 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.283e-05/0.6887, allocations: 16 kB / 0.6065 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6901, allocations: 251.6 kB / 0.6068 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-05/0.6901, allocations: 20 kB / 0.6068 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.6903, allocations: 43.98 kB / 0.6068 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.414e-05/0.6904, allocations: 27.88 kB / 0.6069 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.869e-05/0.6904, allocations: 27.88 kB / 0.6069 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6942, allocations: 2.146 MB / 0.609 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/0.6952, allocations: 326 kB / 0.6093 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000788/0.696, allocations: 47.97 kB / 0.6094 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.6976, allocations: 59.95 kB / 0.6094 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.6978, allocations: 128.1 kB / 0.6095 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6979, allocations: 56 kB / 0.6096 GB, free: 1.551 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003875/0.7018, allocations: 1.731 MB / 0.6113 GB, free: 15.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7018, allocations: 3.938 kB / 0.6113 GB, free: 15.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006227/0.7081, allocations: 0.6992 MB / 0.612 GB, free: 15.11 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.001015/0.7091, allocations: 206.7 kB / 0.6122 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006779/0.7159, allocations: 3.124 MB / 0.6152 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.716, allocations: 8 kB / 0.6152 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.7174, allocations: 0.724 MB / 0.6159 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.7209, allocations: 315.8 kB / 0.6162 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/0.7408, allocations: 8.712 MB / 0.6247 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3073/1.048, allocations: 2.739 MB / 0.6274 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003946/1.052, allocations: 1.066 MB / 0.6285 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/1.053, allocations: 179.5 kB / 0.6286 GB, free: 114.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/1.053, allocations: 2.25 kB / 0.6286 GB, free: 114.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06743/1.12, allocations: 23.52 MB / 0.6516 GB, free: 109.9 MB / 494.1 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)