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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001008, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.683/1.683, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001849/0.001849, allocations: 115.2 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2265/0.2265, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.914e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5814, allocations: 100.1 MB / 0.5422 GB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5818, allocations: 75.83 kB / 0.5423 GB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1875/0.7693, allocations: 74.52 MB / 0.615 GB, free: 4.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7694, allocations: 0 / 0.615 GB, free: 4.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.7696, allocations: 75.98 kB / 0.6151 GB, free: 4.797 MB / 426.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.01232/0.7819, allocations: 3.578 MB / 0.6186 GB, free: 1.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/0.782, allocations: 8.031 kB / 0.6186 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.7866, allocations: 0.666 MB / 0.6193 GB, free: 492 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/0.7928, allocations: 2.181 MB / 0.6214 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.7931, allocations: 295.7 kB / 0.6217 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.795, allocations: 391.9 kB / 0.6221 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/0.8208, allocations: 8.463 MB / 0.6303 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.821, allocations: 19.81 kB / 0.6303 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009047/0.8219, allocations: 167.9 kB / 0.6305 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.8236, allocations: 0.7953 MB / 0.6313 GB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.8413, allocations: 6.638 MB / 0.6378 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04401/0.8853, allocations: 27.72 MB / 0.6648 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2755/1.161, allocations: 1.904 MB / 0.6667 GB, free: 121.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.162, allocations: 0.8142 MB / 0.6675 GB, free: 121.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/1.172, allocations: 6.35 MB / 0.6737 GB, free: 118.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.172, allocations: 52.42 kB / 0.6737 GB, free: 118.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 3.517e-06/1.172, allocations: 0 / 0.6737 GB, free: 118.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.01728/1.19, allocations: 5.821 MB / 0.6794 GB, free: 116.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/1.19, allocations: 139.3 kB / 0.6795 GB, free: 116.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/1.193, allocations: 2.178 MB / 0.6817 GB, free: 116.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/1.193, allocations: 42.67 kB / 0.6817 GB, free: 116.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.195, allocations: 2.389 MB / 0.684 GB, free: 115.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/1.195, allocations: 388.9 kB / 0.6844 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.195, allocations: 73.91 kB / 0.6845 GB, free: 114.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/1.195, allocations: 469.5 kB / 0.6849 GB, free: 114.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.197, allocations: 0.9145 MB / 0.6858 GB, free: 114.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.199, allocations: 3.201 MB / 0.689 GB, free: 111.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/1.201, allocations: 1.673 MB / 0.6906 GB, free: 111.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.303e-05/1.201, allocations: 25.16 kB / 0.6906 GB, free: 111.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.005064/1.206, allocations: 3.994 MB / 0.6945 GB, free: 111.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/1.206, allocations: 40.22 kB / 0.6946 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-05/1.206, allocations: 83.72 kB / 0.6946 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/1.206, allocations: 117.5 kB / 0.6947 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.208, allocations: 0.8974 MB / 0.6956 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.703e-05/1.209, allocations: 158.1 kB / 0.6958 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.211, allocations: 168.9 kB / 0.6959 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.211, allocations: 225.9 kB / 0.6962 GB, free: 111.2 MB / 474.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.0003743/1.212, allocations: 416.1 kB / 0.6965 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/1.212, allocations: 224.9 kB / 0.6968 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/1.213, allocations: 1.107 MB / 0.6978 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.213, allocations: 11.28 kB / 0.6979 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.213, allocations: 3.656 kB / 0.6979 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/1.213, allocations: 3.422 kB / 0.6979 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007847/1.221, allocations: 6.139 MB / 0.7039 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.221, allocations: 18.44 kB / 0.7039 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/1.222, allocations: 242 kB / 0.7041 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/1.222, allocations: 32.19 kB / 0.7041 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/1.222, allocations: 45.48 kB / 0.7042 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-05/1.222, allocations: 43.3 kB / 0.7042 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-05/1.222, allocations: 35.5 kB / 0.7043 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.225, allocations: 3.738 MB / 0.7079 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/1.225, allocations: 326 kB / 0.7082 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.226, allocations: 48.22 kB / 0.7083 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/1.226, allocations: 48.39 kB / 0.7083 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.226, allocations: 153.4 kB / 0.7085 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/1.226, allocations: 56.47 kB / 0.7085 GB, free: 105.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002212/1.229, allocations: 1.576 MB / 0.71 GB, free: 104.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.229, allocations: 2.531 kB / 0.71 GB, free: 104.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004346/1.233, allocations: 0.6517 MB / 0.7107 GB, free: 104.8 MB / 474.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.0004845/1.234, allocations: 194.9 kB / 0.7109 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003894/1.237, allocations: 2.267 MB / 0.7131 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.238, allocations: 3.969 kB / 0.7131 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007824/1.238, allocations: 0.5627 MB / 0.7136 GB, free: 103.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.24, allocations: 312.8 kB / 0.7139 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.253, allocations: 5.548 MB / 0.7194 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/1.256, allocations: 2.809 MB / 0.7221 GB, free: 99.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00287/1.259, allocations: 1.003 MB / 0.7231 GB, free: 99.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/1.259, allocations: 169.5 kB / 0.7232 GB, free: 99.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/1.259, allocations: 7.75 kB / 0.7232 GB, free: 99.63 MB / 474.7 MB Notification: Performance of Templates: time 0.03833/1.297, allocations: 18.82 MB / 0.7416 GB, free: 94.59 MB / 474.7 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)