Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002979/0.002979, allocations: 181.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.286/1.286, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001759/0.001759, allocations: 121.2 kB / 247.1 MB, free: 6.316 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.1788/0.1788, allocations: 39.94 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.037e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.4377, allocations: 100.1 MB / 0.535 GB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.438, allocations: 77.58 kB / 0.535 GB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.2023/0.6403, allocations: 72.94 MB / 0.6063 GB, free: 15.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002071/0.6405, allocations: 75.94 kB / 0.6063 GB, free: 15.29 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01326/0.6538, allocations: 3.772 MB / 0.61 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6539, allocations: 12.03 kB / 0.61 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.6585, allocations: 0.6348 MB / 0.6107 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005888/0.6644, allocations: 2.204 MB / 0.6128 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.6646, allocations: 124 kB / 0.6129 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.6662, allocations: 224 kB / 0.6131 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/0.6765, allocations: 5.563 MB / 0.6186 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.6933, allocations: 7.212 MB / 0.6256 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.6935, allocations: 19.81 kB / 0.6256 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/0.6952, allocations: 11.98 kB / 0.6256 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002156/0.6973, allocations: 0.8505 MB / 0.6265 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.7435, allocations: 27.74 MB / 0.6536 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.7464, allocations: 1.372 MB / 0.6549 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.7481, allocations: 1.029 MB / 0.6559 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.7595, allocations: 7.384 MB / 0.6631 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.7596, allocations: 51.16 kB / 0.6632 GB, free: 3.305 MB / 474.7 MB Notification: Performance of pre-optimization done (n=74): time 3.366e-06/0.7596, allocations: 0 / 0.6632 GB, free: 3.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=87): time 0.2091/0.9686, allocations: 5.86 MB / 0.6689 GB, free: 176.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9687, allocations: 144.3 kB / 0.669 GB, free: 176.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.9715, allocations: 1.994 MB / 0.671 GB, free: 176.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.9716, allocations: 36.77 kB / 0.671 GB, free: 176.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.9727, allocations: 2.377 MB / 0.6733 GB, free: 175.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.9729, allocations: 349.6 kB / 0.6737 GB, free: 175 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.9731, allocations: 0 / 0.6737 GB, free: 175 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9733, allocations: 472.7 kB / 0.6741 GB, free: 174.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.9747, allocations: 1.007 MB / 0.6751 GB, free: 174.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.9772, allocations: 3.47 MB / 0.6785 GB, free: 171.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.9797, allocations: 1.88 MB / 0.6803 GB, free: 171.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-05/0.9798, allocations: 25.38 kB / 0.6804 GB, free: 171.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.005547/0.9853, allocations: 3.931 MB / 0.6842 GB, free: 171.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9854, allocations: 9.594 kB / 0.6842 GB, free: 171.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/0.9855, allocations: 89.78 kB / 0.6843 GB, free: 171.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.9856, allocations: 131.9 kB / 0.6844 GB, free: 171.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.9888, allocations: 0.9579 MB / 0.6853 GB, free: 171.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.463e-05/0.9889, allocations: 176 kB / 0.6855 GB, free: 171.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.9918, allocations: 107.1 kB / 0.6856 GB, free: 171.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.9921, allocations: 244 kB / 0.6859 GB, free: 171.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (513): * Single equations (assignments): 513 * 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.0004265/0.9925, allocations: 338.4 kB / 0.6862 GB, free: 170.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.9928, allocations: 203 kB / 0.6864 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.9944, allocations: 1.144 MB / 0.6875 GB, free: 170.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.9944, allocations: 10.89 kB / 0.6875 GB, free: 170.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.9944, allocations: 6.844 kB / 0.6875 GB, free: 170.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.9944, allocations: 3.141 kB / 0.6875 GB, free: 170.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/1, allocations: 4.702 MB / 0.6921 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1, allocations: 17.84 kB / 0.6921 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/1.001, allocations: 217.9 kB / 0.6923 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/1.001, allocations: 25.97 kB / 0.6923 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/1.001, allocations: 23.34 kB / 0.6924 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/1.001, allocations: 36.09 kB / 0.6924 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.001, allocations: 23 kB / 0.6924 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001668/1.003, allocations: 2.968 MB / 0.6953 GB, free: 166.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/1.003, allocations: 286.5 kB / 0.6956 GB, free: 166.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.004, allocations: 25.84 kB / 0.6956 GB, free: 166.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/1.004, allocations: 24.78 kB / 0.6956 GB, free: 166.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.004, allocations: 112 kB / 0.6958 GB, free: 166.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/1.004, allocations: 50.75 kB / 0.6958 GB, free: 166.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001421/1.006, allocations: 1.315 MB / 0.6971 GB, free: 166.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002979/1.009, allocations: 0.5782 MB / 0.6976 GB, free: 166.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0002988/1.009, allocations: 174.5 kB / 0.6978 GB, free: 166.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002959/1.012, allocations: 2.307 MB / 0.7001 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.012, allocations: 10.09 kB / 0.7001 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/1.013, allocations: 0.5129 MB / 0.7006 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/1.014, allocations: 214.5 kB / 0.7008 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/1.023, allocations: 5.428 MB / 0.7061 GB, free: 164.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/1.027, allocations: 2.996 MB / 0.709 GB, free: 163.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/1.027, allocations: 0 / 0.709 GB, free: 163.3 MB / 474.7 MB Notification: Performance of Templates: time 0.03889/1.066, allocations: 18.59 MB / 0.7272 GB, free: 159.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)