Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001003/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007397/0.007397, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.824/1.824, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.39/0.39, allocations: 40 MB / 310.7 MB, free: 9.566 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.2. 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.0008306/0.0008305, allocations: 16.56 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1354, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2724/0.4079, allocations: 46.29 MB / 483.7 MB, free: 24.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.4339, allocations: 9.418 MB / 493.1 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.4456, allocations: 195.1 kB / 493.3 MB, free: 18.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.4473, allocations: 331.3 kB / 493.6 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.4507, allocations: 0.8873 MB / 494.5 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.4531, allocations: 0.7459 MB / 495.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.4575, allocations: 3.832 MB / 499.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007286/0.4648, allocations: 5.983 MB / 0.4932 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.4668, allocations: 0.9345 MB / 0.4942 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.469, allocations: 1.486 MB / 0.4956 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.4694, allocations: 135.4 kB / 0.4957 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.4713, allocations: 0.8467 MB / 0.4966 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.4729, allocations: 1.401 MB / 0.4979 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.4746, allocations: 1.659 MB / 0.4996 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009405/0.4841, allocations: 5.937 MB / 0.5054 GB, free: 9.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4841, allocations: 4 kB / 0.5054 GB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4841, allocations: 0 / 0.5054 GB, free: 9.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.4844, allocations: 0 / 0.5054 GB, free: 9.82 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.01067/0.4951, allocations: 3.549 MB / 0.5088 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4951, allocations: 9.062 kB / 0.5088 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/0.4983, allocations: 0.4962 MB / 0.5093 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.5038, allocations: 1.801 MB / 0.5111 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.5042, allocations: 242.5 kB / 0.5113 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.5058, allocations: 315.7 kB / 0.5116 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/0.5301, allocations: 9.246 MB / 0.5206 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.5303, allocations: 18.75 kB / 0.5207 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.5318, allocations: 142.6 kB / 0.5208 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002944/0.5347, allocations: 1.587 MB / 0.5223 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.5577, allocations: 7.5 MB / 0.5297 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0529/0.6106, allocations: 28.36 MB / 0.5574 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/0.619, allocations: 2.469 MB / 0.5598 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.6211, allocations: 1.283 MB / 0.561 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.6324, allocations: 7.973 MB / 0.5688 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.6325, allocations: 51.14 kB / 0.5689 GB, free: 15.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 2.965e-06/0.6325, allocations: 4 kB / 0.5689 GB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=101): time 0.02549/0.658, allocations: 7.679 MB / 0.5764 GB, free: 7.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.6582, allocations: 141.5 kB / 0.5765 GB, free: 7.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006474/0.6647, allocations: 2.706 MB / 0.5791 GB, free: 4.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.665, allocations: 41.7 kB / 0.5792 GB, free: 4.414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.667, allocations: 2.388 MB / 0.5815 GB, free: 1.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.6675, allocations: 414.9 kB / 0.5819 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/0.6681, allocations: 358.3 kB / 0.5822 GB, free: 1.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6683, allocations: 305.1 kB / 0.5825 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.671, allocations: 1.265 MB / 0.5838 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.6753, allocations: 3.627 MB / 0.5873 GB, free: 10.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/0.6824, allocations: 5.206 MB / 0.5924 GB, free: 4.449 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.6825, allocations: 24 kB / 0.5924 GB, free: 4.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.01011/0.6926, allocations: 4.793 MB / 0.5971 GB, free: 15.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.6928, allocations: 40 kB / 0.5971 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/0.6929, allocations: 84.88 kB / 0.5972 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.693, allocations: 112 kB / 0.5973 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.6962, allocations: 0.9942 MB / 0.5983 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/0.6964, allocations: 167.3 kB / 0.5985 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.6992, allocations: 211.8 kB / 0.5987 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/0.6997, allocations: 240 kB / 0.5989 GB, free: 13.79 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.003276/0.703, allocations: 1.597 MB / 0.6005 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005412/0.7035, allocations: 229 kB / 0.6007 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.7062, allocations: 1.518 MB / 0.6022 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7062, allocations: 12 kB / 0.6022 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7062, allocations: 3.938 kB / 0.6022 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.7062, allocations: 7.984 kB / 0.6022 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.7188, allocations: 6.148 MB / 0.6082 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.7189, allocations: 16 kB / 0.6082 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.72, allocations: 251.6 kB / 0.6084 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/0.72, allocations: 23.94 kB / 0.6085 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/0.7201, allocations: 43.98 kB / 0.6085 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/0.7202, allocations: 23.94 kB / 0.6085 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-05/0.7202, allocations: 27.88 kB / 0.6085 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.7237, allocations: 2.142 MB / 0.6106 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.725, allocations: 337.8 kB / 0.611 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008829/0.7259, allocations: 47.92 kB / 0.611 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.7276, allocations: 63.94 kB / 0.6111 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.7278, allocations: 128 kB / 0.6112 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.728, allocations: 56 kB / 0.6112 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003882/0.7319, allocations: 1.728 MB / 0.6129 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7319, allocations: 0 / 0.6129 GB, free: 14.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004574/0.7364, allocations: 0.7031 MB / 0.6136 GB, free: 14.15 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.00057/0.737, allocations: 210.8 kB / 0.6138 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.7424, allocations: 2.863 MB / 0.6166 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.7424, allocations: 4 kB / 0.6166 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7436, allocations: 0.7238 MB / 0.6173 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007558/0.7512, allocations: 316.5 kB / 0.6176 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.7664, allocations: 8.746 MB / 0.6262 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2345/1.001, allocations: 2.735 MB / 0.6288 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00289/1.004, allocations: 1.073 MB / 0.6299 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/1.004, allocations: 182.1 kB / 0.6301 GB, free: 145 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.004, allocations: 0 / 0.6301 GB, free: 145 MB / 494.1 MB Notification: Performance of Templates: time 0.04353/1.048, allocations: 22.46 MB / 0.652 GB, free: 142.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: