Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") [: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.1+maint.om/package.mo): time 0.005743/0.005743, allocations: 176.2 kB / 7.452 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.578/1.578, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001802/0.001801, allocations: 104.6 kB / 217.7 MB, free: 8.238 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.1855/0.1855, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.051e-05, allocations: 1.375 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 48.7 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.4567, allocations: 100.8 MB / 499 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.4569, allocations: 75.39 kB / 499.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.304/0.7609, allocations: 118.9 MB / 0.6035 GB, free: 14.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002417/0.7612, allocations: 113.6 kB / 0.6036 GB, free: 14.18 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.01625/0.7775, allocations: 5.543 MB / 0.609 GB, free: 8.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.7776, allocations: 12.03 kB / 0.609 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01998/0.7975, allocations: 4.309 MB / 0.6132 GB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2475/1.045, allocations: 6.676 MB / 0.6198 GB, free: 58.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/1.046, allocations: 266.8 kB / 0.62 GB, free: 58.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00306/1.049, allocations: 324.2 kB / 0.6203 GB, free: 58.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01759/1.066, allocations: 8.72 MB / 0.6288 GB, free: 58.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/1.096, allocations: 12.28 MB / 0.6408 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004446/1.096, allocations: 69.78 kB / 0.6409 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002679/1.099, allocations: 37.31 kB / 0.6409 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/1.101, allocations: 1.379 MB / 0.6423 GB, free: 55.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0737/1.175, allocations: 58.72 MB / 0.6996 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/1.18, allocations: 3.878 MB / 0.7034 GB, free: 19.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/1.183, allocations: 2.924 MB / 0.7063 GB, free: 18.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/1.202, allocations: 12.59 MB / 0.7186 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.203, allocations: 55.5 kB / 0.7186 GB, free: 10.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 4.609e-06/1.203, allocations: 3.094 kB / 0.7186 GB, free: 10.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.08082/1.283, allocations: 30.67 MB / 0.7486 GB, free: 15.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.284, allocations: 239.7 kB / 0.7488 GB, free: 15.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006973/1.291, allocations: 3.704 MB / 0.7524 GB, free: 13.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005665/1.291, allocations: 25.7 kB / 0.7525 GB, free: 13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.294, allocations: 3.643 MB / 0.756 GB, free: 9.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.295, allocations: 0.8902 MB / 0.7569 GB, free: 8.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004765/1.296, allocations: 0 / 0.7569 GB, free: 8.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004303/1.296, allocations: 0.6202 MB / 0.7575 GB, free: 8.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00473/1.301, allocations: 3.155 MB / 0.7606 GB, free: 5.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009153/1.31, allocations: 7.532 MB / 0.7679 GB, free: 12.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/1.319, allocations: 4.802 MB / 0.7726 GB, free: 8.176 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.319, allocations: 44 kB / 0.7727 GB, free: 8.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.2396/1.559, allocations: 12.81 MB / 0.7852 GB, free: 77.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.559, allocations: 6.719 kB / 0.7852 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.559, allocations: 153.9 kB / 0.7853 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/1.571, allocations: 3.584 MB / 0.7888 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.577, allocations: 1.639 MB / 0.7904 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.6, allocations: 16.07 MB / 0.8061 GB, free: 76.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/1.607, allocations: 289 kB / 0.8064 GB, free: 76.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/1.609, allocations: 448.6 kB / 0.8068 GB, free: 76.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001506/1.61, allocations: 489.2 kB / 0.8073 GB, free: 75.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000963/1.611, allocations: 405.1 kB / 0.8077 GB, free: 75.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.629, allocations: 7.755 MB / 0.8152 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001186/1.629, allocations: 27.75 kB / 0.8153 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.05e-05/1.629, allocations: 13.75 kB / 0.8153 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/1.63, allocations: 15.38 kB / 0.8153 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0344/1.664, allocations: 15.94 MB / 0.8309 GB, free: 74.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/1.664, allocations: 3.156 kB / 0.8309 GB, free: 74.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/1.666, allocations: 348.8 kB / 0.8312 GB, free: 74.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/1.678, allocations: 3.501 MB / 0.8346 GB, free: 74.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006645/1.679, allocations: 10.42 kB / 0.8346 GB, free: 74.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/1.698, allocations: 14.68 MB / 0.849 GB, free: 70.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.698, allocations: 0 / 0.849 GB, free: 70.2 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02078/1.719, allocations: 12.25 MB / 0.8609 GB, free: 65.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.722, allocations: 0.8961 MB / 0.8618 GB, free: 65.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008728/1.723, allocations: 5.312 kB / 0.8618 GB, free: 65.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.725, allocations: 112.1 kB / 0.8619 GB, free: 65.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.725, allocations: 111.6 kB / 0.862 GB, free: 65.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.726, allocations: 65.05 kB / 0.8621 GB, free: 65.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004205/1.73, allocations: 2.488 MB / 0.8645 GB, free: 64.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007827/1.738, allocations: 1.244 MB / 0.8657 GB, free: 64.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007461/1.738, allocations: 185.1 kB / 0.8659 GB, free: 64.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.75, allocations: 7.497 MB / 0.8732 GB, free: 61.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.75, allocations: 2.844 kB / 0.8732 GB, free: 61.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004037/1.754, allocations: 2.81 MB / 0.876 GB, free: 60.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.757, allocations: 395.5 kB / 0.8763 GB, free: 60.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.781, allocations: 10.74 MB / 0.8868 GB, free: 54.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006348/1.788, allocations: 4.492 MB / 0.8912 GB, free: 50.8 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/1.788, allocations: 0 / 0.8912 GB, free: 50.8 MB / 458.7 MB Notification: Performance of Templates: time 0.3192/2.107, allocations: 59.73 MB / 0.9496 GB, free: 91.48 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)