Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01114/0.01114, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002017/0.002018, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.759/1.759, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.19/0.19, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.00164/0.00164, allocations: 77.94 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1403, allocations: 56.47 MB / 489.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.02186/0.1622, allocations: 12.6 MB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1732, allocations: 3.564 MB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.1763, allocations: 63.88 kB / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007881/0.1842, allocations: 3.33 MB / 0.4971 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.1875, allocations: 1.007 MB / 0.4981 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.1895, allocations: 0.6511 MB / 0.4987 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003691/0.1932, allocations: 2.31 MB / 0.501 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005625/0.1989, allocations: 4.075 MB / 0.5049 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.2017, allocations: 1.371 MB / 0.5063 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.2044, allocations: 1.78 MB / 0.508 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.2055, allocations: 360 kB / 0.5084 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.2077, allocations: 0.9013 MB / 0.5092 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.2102, allocations: 1.683 MB / 0.5109 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004438/0.2147, allocations: 1.962 MB / 0.5128 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2623/0.477, allocations: 6.246 MB / 0.5189 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.477, allocations: 0 / 0.5189 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.477, allocations: 0.75 kB / 0.5189 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002214/0.4773, allocations: 1.219 kB / 0.5189 GB, free: 13.43 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01026/0.4875, allocations: 4.133 MB / 0.5229 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4876, allocations: 14.27 kB / 0.523 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4896, allocations: 0.489 MB / 0.5234 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.4929, allocations: 1.775 MB / 0.5252 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.4931, allocations: 238.8 kB / 0.5254 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.4936, allocations: 316.5 kB / 0.5257 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.5116, allocations: 8.678 MB / 0.5342 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.061e-05/0.5117, allocations: 19.83 kB / 0.5342 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/0.5121, allocations: 143 kB / 0.5343 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.5146, allocations: 1.558 MB / 0.5359 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.5298, allocations: 6.705 MB / 0.5424 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/0.5745, allocations: 26.6 MB / 0.5684 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006947/0.5815, allocations: 2.068 MB / 0.5704 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.5833, allocations: 1.036 MB / 0.5714 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00959/0.5929, allocations: 6.667 MB / 0.5779 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.593, allocations: 50.88 kB / 0.578 GB, free: 4.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.885e-06/0.593, allocations: 0 / 0.578 GB, free: 4.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01971/0.6127, allocations: 6.743 MB / 0.5846 GB, free: 13.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.6128, allocations: 147 kB / 0.5847 GB, free: 13.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/0.6181, allocations: 2.552 MB / 0.5872 GB, free: 10.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.6184, allocations: 45.7 kB / 0.5872 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.6206, allocations: 2.362 MB / 0.5895 GB, free: 8.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.6212, allocations: 405.1 kB / 0.5899 GB, free: 8.094 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.6226, allocations: 0.7894 MB / 0.5907 GB, free: 7.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6228, allocations: 308.3 kB / 0.591 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.6249, allocations: 1.137 MB / 0.5921 GB, free: 5.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/0.6288, allocations: 3.402 MB / 0.5954 GB, free: 1.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/0.6366, allocations: 4.846 MB / 0.6002 GB, free: 11.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.099e-05/0.6368, allocations: 28 kB / 0.6002 GB, free: 11.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.01032/0.6471, allocations: 4.451 MB / 0.6045 GB, free: 7.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.6472, allocations: 40 kB / 0.6046 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002446/0.6475, allocations: 80 kB / 0.6046 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.6476, allocations: 108 kB / 0.6047 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.6509, allocations: 0.9261 MB / 0.6056 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.6511, allocations: 162.2 kB / 0.6058 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.654, allocations: 192.6 kB / 0.606 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/0.6545, allocations: 228 kB / 0.6062 GB, free: 6.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (495): * Single equations (assignments): 495 * 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.003308/0.6578, allocations: 1.598 MB / 0.6078 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/0.6584, allocations: 221.2 kB / 0.608 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.6609, allocations: 1.26 MB / 0.6092 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.661, allocations: 15.94 kB / 0.6092 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.661, allocations: 0 / 0.6092 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.661, allocations: 7.969 kB / 0.6092 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.6725, allocations: 6.093 MB / 0.6152 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001361/0.6727, allocations: 16.22 kB / 0.6152 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009534/0.6736, allocations: 251.5 kB / 0.6154 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.703e-05/0.6737, allocations: 25.64 kB / 0.6155 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.6738, allocations: 43.98 kB / 0.6155 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.607e-05/0.6738, allocations: 31.92 kB / 0.6155 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.6738, allocations: 27.88 kB / 0.6156 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.6766, allocations: 2.091 MB / 0.6176 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007055/0.6773, allocations: 326 kB / 0.6179 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/0.6778, allocations: 43.98 kB / 0.618 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6789, allocations: 55.97 kB / 0.618 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.6791, allocations: 135.8 kB / 0.6181 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/0.6792, allocations: 59.98 kB / 0.6182 GB, free: 9.348 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00291/0.6821, allocations: 1.663 MB / 0.6198 GB, free: 7.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6821, allocations: 0 / 0.6198 GB, free: 7.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003432/0.6856, allocations: 0.6758 MB / 0.6205 GB, free: 7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (124): * Single equations (assignments): 124 * 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.0004006/0.686, allocations: 211.7 kB / 0.6207 GB, free: 6.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.691, allocations: 2.67 MB / 0.6233 GB, free: 4.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.6911, allocations: 8.125 kB / 0.6233 GB, free: 4.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6922, allocations: 0.6725 MB / 0.6239 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.6943, allocations: 328.5 kB / 0.6243 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.7068, allocations: 6.921 MB / 0.631 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/0.7103, allocations: 2.746 MB / 0.6337 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002677/0.713, allocations: 1.016 MB / 0.6347 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.7137, allocations: 183.4 kB / 0.6349 GB, free: 8.008 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7138, allocations: 0 / 0.6349 GB, free: 8.008 MB / 494.1 MB Notification: Performance of Templates: time 0.05501/0.7688, allocations: 21.01 MB / 0.6554 GB, free: 3.07 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)