Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001056/0.001056, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.486/1.486, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.3537/0.3537, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.001416/0.001416, allocations: 67.91 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 56.47 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3449/0.4877, allocations: 52.65 MB / 483.8 MB, free: 24.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0271/0.5149, allocations: 10.38 MB / 494.2 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01643/0.5315, allocations: 207.7 kB / 494.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00756/0.5391, allocations: 3.807 MB / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.5435, allocations: 0.9201 MB / 499.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.5462, allocations: 0.8181 MB / 500 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004841/0.5511, allocations: 2.645 MB / 0.4908 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.5612, allocations: 5.378 MB / 0.4961 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.5656, allocations: 1.616 MB / 0.4977 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.5706, allocations: 2.242 MB / 0.4999 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002308/0.5729, allocations: 491.1 kB / 0.5003 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.5771, allocations: 1.158 MB / 0.5015 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00514/0.5823, allocations: 1.971 MB / 0.5034 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007913/0.5902, allocations: 2.286 MB / 0.5056 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.6063, allocations: 7.582 MB / 0.513 GB, free: 4.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.6064, allocations: 0 / 0.513 GB, free: 4.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6064, allocations: 0 / 0.513 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005282/0.6069, allocations: 0 / 0.513 GB, free: 4.137 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02563/0.6326, allocations: 4.719 MB / 0.5176 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.6327, allocations: 11.8 kB / 0.5176 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005097/0.6378, allocations: 0.5569 MB / 0.5182 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/0.6452, allocations: 2.188 MB / 0.5203 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/0.6457, allocations: 269.3 kB / 0.5206 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.6479, allocations: 348.8 kB / 0.5209 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.6788, allocations: 10.49 MB / 0.5312 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/0.6789, allocations: 15.88 kB / 0.5312 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.6794, allocations: 151.9 kB / 0.5313 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/0.6824, allocations: 1.643 MB / 0.5329 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/0.7033, allocations: 9.166 MB / 0.5419 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/0.7539, allocations: 31.08 MB / 0.5722 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00964/0.7636, allocations: 3.094 MB / 0.5752 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.766, allocations: 1.768 MB / 0.577 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.7793, allocations: 9.73 MB / 0.5865 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.7793, allocations: 47.5 kB / 0.5865 GB, free: 12.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.976e-06/0.7793, allocations: 0 / 0.5865 GB, free: 12.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.02706/0.8064, allocations: 9.336 MB / 0.5956 GB, free: 3.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.8065, allocations: 119.9 kB / 0.5957 GB, free: 2.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.8109, allocations: 2.87 MB / 0.5985 GB, free: 40 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.8111, allocations: 45.75 kB / 0.5986 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.8128, allocations: 2.47 MB / 0.601 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.8133, allocations: 446.4 kB / 0.6014 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.8146, allocations: 0.8606 MB / 0.6023 GB, free: 12.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8148, allocations: 301.1 kB / 0.6026 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.817, allocations: 1.57 MB / 0.6041 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/0.8213, allocations: 3.878 MB / 0.6079 GB, free: 5.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007345/0.8287, allocations: 5.709 MB / 0.6135 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-05/0.8288, allocations: 24 kB / 0.6135 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01056/0.8394, allocations: 5.417 MB / 0.6188 GB, free: 8.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.8395, allocations: 36 kB / 0.6188 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.8397, allocations: 87.98 kB / 0.6189 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.8399, allocations: 112.1 kB / 0.619 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.8439, allocations: 0.9982 MB / 0.62 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001653/0.8441, allocations: 159.4 kB / 0.6201 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.8476, allocations: 231.5 kB / 0.6203 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/0.848, allocations: 236 kB / 0.6206 GB, free: 7.109 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 370 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (531): * Single equations (assignments): 529 * Array equations: 2 * 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.003751/0.8518, allocations: 1.762 MB / 0.6223 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/0.8523, allocations: 244.9 kB / 0.6225 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.8557, allocations: 2.21 MB / 0.6247 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.8558, allocations: 12 kB / 0.6247 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.8558, allocations: 3.938 kB / 0.6247 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.8558, allocations: 3.984 kB / 0.6247 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3727/1.228, allocations: 7.638 MB / 0.6322 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.229, allocations: 13.41 kB / 0.6322 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.23, allocations: 261.1 kB / 0.6324 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/1.23, allocations: 22.19 kB / 0.6324 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.23, allocations: 41.56 kB / 0.6325 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-05/1.23, allocations: 33.89 kB / 0.6325 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-05/1.23, allocations: 23.88 kB / 0.6325 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/1.233, allocations: 2.371 MB / 0.6348 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/1.234, allocations: 334.7 kB / 0.6352 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/1.234, allocations: 48.64 kB / 0.6352 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.235, allocations: 65.58 kB / 0.6353 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.236, allocations: 127.6 kB / 0.6354 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/1.236, allocations: 52.91 kB / 0.6354 GB, free: 148.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00296/1.239, allocations: 1.828 MB / 0.6372 GB, free: 147.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.239, allocations: 0 / 0.6372 GB, free: 147.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004971/1.244, allocations: 0.7663 MB / 0.638 GB, free: 147.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (137): * Single equations (assignments): 137 * 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.0006587/1.244, allocations: 213.5 kB / 0.6382 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006599/1.251, allocations: 3.762 MB / 0.6419 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/1.251, allocations: 3 kB / 0.6419 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.252, allocations: 0.886 MB / 0.6427 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/1.257, allocations: 331.1 kB / 0.643 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.28, allocations: 9.618 MB / 0.6524 GB, free: 139.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007191/1.287, allocations: 2.959 MB / 0.6553 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004882/1.292, allocations: 1.017 MB / 0.6563 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.293, allocations: 182.6 kB / 0.6565 GB, free: 138.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.886e-06/1.293, allocations: 0 / 0.6565 GB, free: 138.4 MB / 494.1 MB Notification: Performance of Templates: time 0.08204/1.375, allocations: 26.58 MB / 0.6824 GB, free: 131.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)