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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001484/0.001484, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.142/1.142, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001591/0.001591, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1628/0.1628, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.262e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08304, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4208, allocations: 93.55 MB / 499.3 MB, free: 17.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4211, allocations: 74.5 kB / 499.3 MB, free: 17.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.231/0.6521, allocations: 74.54 MB / 0.5604 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6522, allocations: 4 kB / 0.5604 GB, free: 11.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.6524, allocations: 75.98 kB / 0.5605 GB, free: 11.33 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.009902/0.6623, allocations: 3.574 MB / 0.564 GB, free: 7.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6624, allocations: 8.031 kB / 0.564 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.667, allocations: 0.6738 MB / 0.5646 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006324/0.6734, allocations: 2.181 MB / 0.5668 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.6737, allocations: 303.8 kB / 0.5671 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.675, allocations: 379.9 kB / 0.5674 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.6952, allocations: 8.459 MB / 0.5757 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.609e-05/0.6953, allocations: 19.81 kB / 0.5757 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005034/0.6959, allocations: 179.9 kB / 0.5759 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.6974, allocations: 0.7875 MB / 0.5766 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.7119, allocations: 6.63 MB / 0.5831 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.7503, allocations: 27.73 MB / 0.6102 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005704/0.756, allocations: 1.916 MB / 0.6121 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.7571, allocations: 0.816 MB / 0.6129 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2329/0.99, allocations: 6.331 MB / 0.619 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.9901, allocations: 47.3 kB / 0.6191 GB, free: 104.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 3.005e-06/0.9901, allocations: 0 / 0.6191 GB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01602/1.006, allocations: 5.831 MB / 0.6248 GB, free: 103.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/1.006, allocations: 146.4 kB / 0.6249 GB, free: 103 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/1.01, allocations: 2.17 MB / 0.627 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/1.01, allocations: 43.89 kB / 0.6271 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.012, allocations: 2.394 MB / 0.6294 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/1.013, allocations: 387.5 kB / 0.6298 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/1.013, allocations: 75.62 kB / 0.6299 GB, free: 101.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/1.013, allocations: 458.9 kB / 0.6303 GB, free: 101 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/1.015, allocations: 0.9105 MB / 0.6312 GB, free: 101 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/1.017, allocations: 3.201 MB / 0.6343 GB, free: 98.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/1.02, allocations: 1.675 MB / 0.636 GB, free: 98.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/1.02, allocations: 24.59 kB / 0.636 GB, free: 98.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.006315/1.026, allocations: 3.999 MB / 0.6399 GB, free: 97.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.147e-05/1.026, allocations: 38.16 kB / 0.6399 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/1.026, allocations: 87.94 kB / 0.64 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/1.026, allocations: 119.3 kB / 0.6401 GB, free: 97.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/1.029, allocations: 0.8889 MB / 0.641 GB, free: 97.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/1.029, allocations: 164.8 kB / 0.6411 GB, free: 97.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.032, allocations: 173.1 kB / 0.6413 GB, free: 97.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.032, allocations: 224.3 kB / 0.6415 GB, free: 97.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 37 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (480): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004209/1.032, allocations: 415.4 kB / 0.6419 GB, free: 97.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/1.033, allocations: 221.5 kB / 0.6421 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/1.034, allocations: 1.099 MB / 0.6432 GB, free: 97.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.034, allocations: 9.969 kB / 0.6432 GB, free: 97.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.034, allocations: 3.969 kB / 0.6432 GB, free: 97.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.034, allocations: 6.672 kB / 0.6432 GB, free: 97.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008364/1.043, allocations: 6.129 MB / 0.6492 GB, free: 95.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/1.043, allocations: 21.97 kB / 0.6492 GB, free: 95.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/1.044, allocations: 250.1 kB / 0.6495 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/1.044, allocations: 32.31 kB / 0.6495 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/1.044, allocations: 47.47 kB / 0.6495 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/1.044, allocations: 36.75 kB / 0.6496 GB, free: 95.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/1.044, allocations: 31.5 kB / 0.6496 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.047, allocations: 3.741 MB / 0.6533 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/1.048, allocations: 321 kB / 0.6536 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.048, allocations: 48.75 kB / 0.6536 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/1.049, allocations: 49.44 kB / 0.6537 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.049, allocations: 149.2 kB / 0.6538 GB, free: 92.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/1.049, allocations: 56.25 kB / 0.6539 GB, free: 92.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002282/1.051, allocations: 1.578 MB / 0.6554 GB, free: 91.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.051, allocations: 3.938 kB / 0.6554 GB, free: 91.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003622/1.055, allocations: 0.6507 MB / 0.656 GB, free: 91.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003361/1.055, allocations: 200.1 kB / 0.6562 GB, free: 91.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/1.058, allocations: 2.265 MB / 0.6584 GB, free: 91.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.058, allocations: 3.594 kB / 0.6584 GB, free: 91.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005932/1.059, allocations: 0.5624 MB / 0.659 GB, free: 91.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.06, allocations: 312.5 kB / 0.6593 GB, free: 90.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/1.069, allocations: 5.554 MB / 0.6647 GB, free: 88.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.071, allocations: 2.812 MB / 0.6675 GB, free: 87.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002584/1.074, allocations: 1.001 MB / 0.6684 GB, free: 87.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/1.074, allocations: 169.5 kB / 0.6686 GB, free: 87.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.074, allocations: 0.7656 kB / 0.6686 GB, free: 87.02 MB / 426.7 MB Notification: Performance of Templates: time 0.03749/1.112, allocations: 18.82 MB / 0.687 GB, free: 83 MB / 426.7 MB 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)