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.001787/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002149/0.002149, allocations: 195.9 kB / 16.14 MB, free: 6.738 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.742/1.742, allocations: 205.1 MB / 222 MB, free: 4.98 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.3742/0.3742, allocations: 37.98 MB / 307.3 MB, free: 9.832 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.00136/0.00136, allocations: 71.89 kB / 374.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1393, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3024/0.4417, allocations: 47.57 MB / 478.6 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.4658, allocations: 9.475 MB / 488.1 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/0.4784, allocations: 190.9 kB / 488.2 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005596/0.484, allocations: 3.324 MB / 491.6 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.4872, allocations: 0.8705 MB / 492.4 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.4894, allocations: 0.7541 MB / 493.2 MB, free: 19.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.4934, allocations: 3.834 MB / 497 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.4981, allocations: 4.081 MB / 0.4894 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.5014, allocations: 1.248 MB / 0.4906 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003978/0.5054, allocations: 1.876 MB / 0.4924 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007058/0.5062, allocations: 263.9 kB / 0.4927 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.5084, allocations: 0.9722 MB / 0.4936 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.5114, allocations: 1.599 MB / 0.4952 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.5152, allocations: 1.874 MB / 0.497 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.5273, allocations: 6.149 MB / 0.503 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5274, allocations: 6.438 kB / 0.503 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5274, allocations: 0 / 0.503 GB, free: 10.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000273/0.5277, allocations: 0 / 0.503 GB, free: 10.74 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.0177/0.5454, allocations: 4.287 MB / 0.5072 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5454, allocations: 9.688 kB / 0.5072 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.5485, allocations: 0.5023 MB / 0.5077 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/0.5529, allocations: 1.8 MB / 0.5095 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.5531, allocations: 239.5 kB / 0.5097 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006474/0.5538, allocations: 314.5 kB / 0.51 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.5717, allocations: 9.221 MB / 0.519 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/0.5718, allocations: 15.56 kB / 0.519 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.5721, allocations: 147.3 kB / 0.5192 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.5745, allocations: 1.592 MB / 0.5207 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.5929, allocations: 7.477 MB / 0.528 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/0.6386, allocations: 28.34 MB / 0.5557 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008283/0.647, allocations: 2.466 MB / 0.5581 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.6491, allocations: 1.283 MB / 0.5593 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.6605, allocations: 7.973 MB / 0.5671 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/0.6606, allocations: 51.27 kB / 0.5672 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/0.6606, allocations: 0 / 0.5672 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=101): time 0.02131/0.6819, allocations: 7.671 MB / 0.5747 GB, free: 8.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.682, allocations: 141.5 kB / 0.5748 GB, free: 8.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/0.6857, allocations: 2.71 MB / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.6859, allocations: 41.7 kB / 0.5775 GB, free: 5.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.6876, allocations: 2.392 MB / 0.5798 GB, free: 2.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000515/0.6881, allocations: 418.8 kB / 0.5802 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.6893, allocations: 0.8015 MB / 0.581 GB, free: 1.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6894, allocations: 313.1 kB / 0.5813 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.6914, allocations: 1.261 MB / 0.5825 GB, free: 96 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.6949, allocations: 3.623 MB / 0.5861 GB, free: 11.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006237/0.7012, allocations: 5.205 MB / 0.5912 GB, free: 4.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.634e-05/0.7012, allocations: 24 kB / 0.5912 GB, free: 4.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008134/0.7094, allocations: 4.809 MB / 0.5959 GB, free: 64 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.7095, allocations: 40 kB / 0.5959 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.659e-05/0.7096, allocations: 84.05 kB / 0.596 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.84e-05/0.7097, allocations: 112 kB / 0.5961 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.7126, allocations: 0.9786 MB / 0.5971 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.7128, allocations: 167.3 kB / 0.5972 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.7155, allocations: 216 kB / 0.5974 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.7158, allocations: 240 kB / 0.5977 GB, free: 14.24 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.003008/0.7188, allocations: 1.597 MB / 0.5992 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/0.7193, allocations: 229 kB / 0.5994 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.7219, allocations: 1.521 MB / 0.6009 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.7219, allocations: 15.94 kB / 0.6009 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.7219, allocations: 7.875 kB / 0.6009 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7219, allocations: 7.969 kB / 0.6009 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.7328, allocations: 6.137 MB / 0.6069 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/0.7329, allocations: 16 kB / 0.607 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.7339, allocations: 255.6 kB / 0.6072 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/0.734, allocations: 20 kB / 0.6072 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.7341, allocations: 47.98 kB / 0.6073 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.178e-05/0.7341, allocations: 31.86 kB / 0.6073 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.7341, allocations: 19.94 kB / 0.6073 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.7371, allocations: 2.154 MB / 0.6094 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.7378, allocations: 326 kB / 0.6097 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.7381, allocations: 39.98 kB / 0.6098 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7391, allocations: 67.95 kB / 0.6098 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7393, allocations: 124.1 kB / 0.6099 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.7394, allocations: 55.98 kB / 0.61 GB, free: 1.043 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002897/0.7423, allocations: 1.724 MB / 0.6117 GB, free: 15.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7423, allocations: 0 / 0.6117 GB, free: 15.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003696/0.746, allocations: 0.7031 MB / 0.6124 GB, free: 14.61 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.0005661/0.7466, allocations: 220.7 kB / 0.6126 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.7513, allocations: 2.854 MB / 0.6154 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.7513, allocations: 4 kB / 0.6154 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7524, allocations: 0.7254 MB / 0.6161 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.7545, allocations: 306.6 kB / 0.6164 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.7676, allocations: 8.707 MB / 0.6249 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2032/0.9709, allocations: 2.742 MB / 0.6276 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003183/0.9742, allocations: 1.064 MB / 0.6286 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.9747, allocations: 182.5 kB / 0.6288 GB, free: 149.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.9747, allocations: 0 / 0.6288 GB, free: 149.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0406/1.015, allocations: 22.7 MB / 0.6509 GB, free: 147.4 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)