Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007931/0.007931, allocations: 176 kB / 15.12 MB, free: 5.969 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.299/1.299, allocations: 194.5 MB / 210.3 MB, free: 7.809 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.001905/0.001905, allocations: 136.5 kB / 255.6 MB, free: 10.41 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1968/0.1968, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004102, allocations: 18.44 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 54.88 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.6075, allocations: 102.9 MB / 0.5507 GB, free: 21.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/0.6081, allocations: 85.28 kB / 0.5508 GB, free: 21.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1679/0.776, allocations: 73.58 MB / 0.6227 GB, free: 4.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.119e-06/0.7761, allocations: 3.984 kB / 0.6227 GB, free: 4.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002133/0.7763, allocations: 83.98 kB / 0.6228 GB, free: 4.598 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01814/0.7944, allocations: 4.276 MB / 0.6269 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.7945, allocations: 8.031 kB / 0.6269 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/0.8013, allocations: 0.7515 MB / 0.6277 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.8131, allocations: 2.57 MB / 0.6302 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008175/0.8139, allocations: 316.4 kB / 0.6305 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003652/0.8176, allocations: 423.9 kB / 0.6309 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/0.853, allocations: 9.951 MB / 0.6406 GB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002762/0.8534, allocations: 23.8 kB / 0.6406 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00252/0.8559, allocations: 183.9 kB / 0.6408 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.858, allocations: 0.8591 MB / 0.6416 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/0.8824, allocations: 8.5 MB / 0.6499 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06701/0.9495, allocations: 31.84 MB / 0.681 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/0.9595, allocations: 3.029 MB / 0.684 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/0.9753, allocations: 8.976 MB / 0.6928 GB, free: 11.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.9754, allocations: 43.56 kB / 0.6928 GB, free: 11.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=91): time 3.676e-06/0.9754, allocations: 0 / 0.6928 GB, free: 11.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.02834/1.004, allocations: 8.723 MB / 0.7013 GB, free: 3.109 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.004, allocations: 111.8 kB / 0.7014 GB, free: 2.977 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008142/1.012, allocations: 2.521 MB / 0.7039 GB, free: 456 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003915/1.013, allocations: 49.69 kB / 0.7039 GB, free: 400 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00308/1.016, allocations: 2.497 MB / 0.7064 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008838/1.017, allocations: 430.7 kB / 0.7068 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/1.017, allocations: 84 kB / 0.7069 GB, free: 13.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005141/1.018, allocations: 482.7 kB / 0.7073 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.021, allocations: 1.433 MB / 0.7087 GB, free: 11.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/1.026, allocations: 3.747 MB / 0.7124 GB, free: 6.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004801/1.031, allocations: 2.223 MB / 0.7146 GB, free: 4.281 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/1.031, allocations: 20 kB / 0.7146 GB, free: 4.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.378/1.409, allocations: 5.152 MB / 0.7196 GB, free: 121.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.409, allocations: 42 kB / 0.7196 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/1.409, allocations: 83.72 kB / 0.7197 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/1.409, allocations: 121.8 kB / 0.7198 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/1.414, allocations: 0.9962 MB / 0.7208 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002057/1.414, allocations: 165.8 kB / 0.721 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.417, allocations: 241.9 kB / 0.7212 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006601/1.418, allocations: 235.6 kB / 0.7214 GB, free: 121.7 MB / 490.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: 46 (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.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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.004885/1.423, allocations: 1.749 MB / 0.7231 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007447/1.424, allocations: 237.1 kB / 0.7234 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/1.428, allocations: 2.059 MB / 0.7254 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.428, allocations: 10.84 kB / 0.7254 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.428, allocations: 3.453 kB / 0.7254 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.428, allocations: 4.625 kB / 0.7254 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.444, allocations: 6.984 MB / 0.7322 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/1.444, allocations: 18.14 kB / 0.7322 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.445, allocations: 294.2 kB / 0.7325 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/1.445, allocations: 31.61 kB / 0.7325 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.445, allocations: 47.56 kB / 0.7326 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/1.445, allocations: 39.95 kB / 0.7326 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.976e-05/1.445, allocations: 31.34 kB / 0.7327 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/1.45, allocations: 4.257 MB / 0.7368 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.451, allocations: 357.6 kB / 0.7372 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/1.451, allocations: 58.08 kB / 0.7372 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.452, allocations: 69.36 kB / 0.7373 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/1.453, allocations: 157.7 kB / 0.7374 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.453, allocations: 62.69 kB / 0.7375 GB, free: 117.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003355/1.456, allocations: 1.78 MB / 0.7392 GB, free: 117.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.456, allocations: 0 / 0.7392 GB, free: 117.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004669/1.461, allocations: 0.7624 MB / 0.74 GB, free: 117.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (155): * Single equations (assignments): 155 * 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.0005133/1.461, allocations: 218.3 kB / 0.7402 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005004/1.466, allocations: 3.201 MB / 0.7433 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.466, allocations: 7.125 kB / 0.7433 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.467, allocations: 0.8811 MB / 0.7442 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.469, allocations: 311.9 kB / 0.7445 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.485, allocations: 9.219 MB / 0.7535 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.488, allocations: 3.026 MB / 0.7564 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003618/1.492, allocations: 1.049 MB / 0.7574 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/1.492, allocations: 188.8 kB / 0.7576 GB, free: 111.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.134e-06/1.492, allocations: 0 / 0.7576 GB, free: 111.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05217/1.544, allocations: 24.57 MB / 0.7816 GB, free: 110.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)