Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001162/0.001162, allocations: 107.3 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.001273/0.001273, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.674/1.674, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.384/0.384, allocations: 39.94 MB / 309.4 MB, free: 9.375 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.002572/0.002572, allocations: 72.52 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1634, allocations: 56.88 MB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.327/0.4904, allocations: 47.53 MB / 481.5 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.5159, allocations: 9.252 MB / 490.8 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01304/0.5291, allocations: 194.6 kB / 491 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006264/0.5354, allocations: 3.227 MB / 494.2 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.5393, allocations: 0.855 MB / 495 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.5414, allocations: 0.6141 MB / 495.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.5454, allocations: 2.321 MB / 498 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.5503, allocations: 4.297 MB / 0.4905 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.553, allocations: 1.385 MB / 0.4919 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.5564, allocations: 1.917 MB / 0.4937 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.5575, allocations: 360.9 kB / 0.4941 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.5597, allocations: 0.9063 MB / 0.495 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.5616, allocations: 1.693 MB / 0.4966 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.564, allocations: 1.97 MB / 0.4985 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009846/0.5738, allocations: 6.109 MB / 0.5045 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5739, allocations: 0 / 0.5045 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5739, allocations: 0 / 0.5045 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003427/0.5743, allocations: 0 / 0.5045 GB, free: 8.488 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.0147/0.589, allocations: 4.15 MB / 0.5086 GB, free: 6.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.589, allocations: 12.8 kB / 0.5086 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.5913, allocations: 0.4944 MB / 0.509 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.5955, allocations: 1.74 MB / 0.5107 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.5957, allocations: 240.3 kB / 0.511 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007161/0.5964, allocations: 317.5 kB / 0.5113 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.6148, allocations: 8.678 MB / 0.5198 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.6149, allocations: 15 kB / 0.5198 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/0.6153, allocations: 141.4 kB / 0.5199 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.618, allocations: 1.558 MB / 0.5214 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.6362, allocations: 6.717 MB / 0.528 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.6878, allocations: 26.75 MB / 0.5541 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007277/0.6951, allocations: 2.07 MB / 0.5561 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.6972, allocations: 1.028 MB / 0.5571 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.7088, allocations: 6.681 MB / 0.5637 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.7089, allocations: 51.14 kB / 0.5637 GB, free: 2.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.546e-06/0.7089, allocations: 0 / 0.5637 GB, free: 2.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01971/0.7287, allocations: 6.733 MB / 0.5703 GB, free: 11.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.7288, allocations: 149.5 kB / 0.5704 GB, free: 11.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/0.7325, allocations: 2.556 MB / 0.5729 GB, free: 8.777 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.7327, allocations: 41.7 kB / 0.573 GB, free: 8.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.7343, allocations: 2.364 MB / 0.5753 GB, free: 6.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.7347, allocations: 407 kB / 0.5757 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.7357, allocations: 0.7816 MB / 0.5764 GB, free: 5.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.7358, allocations: 305.1 kB / 0.5767 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.7376, allocations: 1.14 MB / 0.5778 GB, free: 3.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.7411, allocations: 3.402 MB / 0.5811 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/0.7469, allocations: 4.859 MB / 0.5859 GB, free: 9.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.335e-05/0.747, allocations: 24 kB / 0.5859 GB, free: 9.172 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007355/0.7543, allocations: 4.448 MB / 0.5903 GB, free: 4.715 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.7544, allocations: 40 kB / 0.5903 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/0.7545, allocations: 80 kB / 0.5904 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.821e-05/0.7546, allocations: 108 kB / 0.5905 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.7573, allocations: 0.9286 MB / 0.5914 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.7575, allocations: 159.4 kB / 0.5915 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.7602, allocations: 187.8 kB / 0.5917 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.7605, allocations: 228 kB / 0.5919 GB, free: 3 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.003436/0.7639, allocations: 1.585 MB / 0.5935 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/0.7645, allocations: 221.1 kB / 0.5937 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.7668, allocations: 1.271 MB / 0.5949 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.7668, allocations: 12 kB / 0.5949 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7669, allocations: 0 / 0.5949 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.7669, allocations: 3.984 kB / 0.5949 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.7777, allocations: 6.109 MB / 0.6009 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/0.7777, allocations: 16 kB / 0.6009 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/0.7787, allocations: 247.5 kB / 0.6012 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.352e-05/0.7787, allocations: 24 kB / 0.6012 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.7788, allocations: 44 kB / 0.6012 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-05/0.7788, allocations: 27.92 kB / 0.6013 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.98e-05/0.7789, allocations: 27.88 kB / 0.6013 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.7818, allocations: 2.088 MB / 0.6033 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/0.7825, allocations: 318 kB / 0.6036 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.7828, allocations: 43.98 kB / 0.6037 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.7837, allocations: 63.95 kB / 0.6037 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.7839, allocations: 135.8 kB / 0.6039 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.784, allocations: 60 kB / 0.6039 GB, free: 6.125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.7866, allocations: 1.663 MB / 0.6055 GB, free: 4.453 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7866, allocations: 7.938 kB / 0.6055 GB, free: 4.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00369/0.7903, allocations: 0.6797 MB / 0.6062 GB, free: 3.766 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.0004496/0.7907, allocations: 206.6 kB / 0.6064 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00486/0.7956, allocations: 2.829 MB / 0.6092 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.7956, allocations: 4 kB / 0.6092 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7967, allocations: 0.674 MB / 0.6098 GB, free: 68 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.7989, allocations: 322.3 kB / 0.6101 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8136, allocations: 8.724 MB / 0.6187 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.8165, allocations: 2.746 MB / 0.6213 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00289/0.8194, allocations: 1.021 MB / 0.6223 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.8199, allocations: 175.4 kB / 0.6225 GB, free: 2.809 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/0.8199, allocations: 0 / 0.6225 GB, free: 2.809 MB / 494.1 MB Notification: Performance of Templates: time 0.2825/1.102, allocations: 21.51 MB / 0.6435 GB, free: 147.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)