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") [: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.00263/0.00263, allocations: 179.8 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.216/1.216, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001726/0.001726, allocations: 114.5 kB / 247.1 MB, free: 6.367 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.2058/0.2058, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.276e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09968, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.4207, allocations: 99.33 MB / 0.5342 GB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.4209, allocations: 77.52 kB / 0.5342 GB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1887/0.6096, allocations: 71.77 MB / 0.6043 GB, free: 1.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002802/0.61, allocations: 72 kB / 0.6044 GB, free: 1.246 MB / 410.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.01327/0.6233, allocations: 3.566 MB / 0.6079 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6233, allocations: 12.03 kB / 0.6079 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.6282, allocations: 0.6271 MB / 0.6085 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.6351, allocations: 2.193 MB / 0.6106 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.6354, allocations: 124 kB / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.6372, allocations: 228 kB / 0.611 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01138/0.6486, allocations: 5.324 MB / 0.6162 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.6662, allocations: 6.988 MB / 0.623 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.6665, allocations: 19.81 kB / 0.623 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.668, allocations: 12 kB / 0.623 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.6698, allocations: 0.7997 MB / 0.6238 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04574/0.7156, allocations: 26 MB / 0.6492 GB, free: 2.207 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.7181, allocations: 1.118 MB / 0.6503 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.7193, allocations: 0.7511 MB / 0.651 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008975/0.7283, allocations: 5.983 MB / 0.6569 GB, free: 9.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.7284, allocations: 50.94 kB / 0.6569 GB, free: 9.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 3.496e-06/0.7284, allocations: 4 kB / 0.6569 GB, free: 9.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01084/0.7393, allocations: 4.754 MB / 0.6616 GB, free: 4.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.7394, allocations: 137.2 kB / 0.6617 GB, free: 4.785 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.7421, allocations: 1.948 MB / 0.6636 GB, free: 2.809 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.7421, allocations: 25.7 kB / 0.6636 GB, free: 2.777 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.7434, allocations: 2.346 MB / 0.6659 GB, free: 404 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.7437, allocations: 316.2 kB / 0.6662 GB, free: 84 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.7438, allocations: 0 / 0.6662 GB, free: 84 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.1644/0.9082, allocations: 461.1 kB / 0.6666 GB, free: 178.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.9096, allocations: 0.8575 MB / 0.6675 GB, free: 178.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.9114, allocations: 3.228 MB / 0.6706 GB, free: 175.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.9131, allocations: 1.655 MB / 0.6723 GB, free: 175.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/0.9131, allocations: 26.84 kB / 0.6723 GB, free: 175.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.005197/0.9183, allocations: 3.512 MB / 0.6757 GB, free: 175 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9184, allocations: 9.688 kB / 0.6757 GB, free: 175 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.89e-05/0.9184, allocations: 84.88 kB / 0.6758 GB, free: 175 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.9186, allocations: 125.2 kB / 0.6759 GB, free: 175 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.9209, allocations: 0.9006 MB / 0.6768 GB, free: 174.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-05/0.921, allocations: 174.2 kB / 0.677 GB, free: 174.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.923, allocations: 95.25 kB / 0.6771 GB, free: 174.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.9232, allocations: 230.3 kB / 0.6773 GB, free: 174.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * 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 (488): * Single equations (assignments): 488 * 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.0003515/0.9236, allocations: 332.3 kB / 0.6776 GB, free: 174.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.9238, allocations: 193.4 kB / 0.6778 GB, free: 174.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.9252, allocations: 0.9287 MB / 0.6787 GB, free: 174.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.9252, allocations: 10.69 kB / 0.6787 GB, free: 174.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9252, allocations: 0 / 0.6787 GB, free: 174.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.9252, allocations: 3.797 kB / 0.6787 GB, free: 174.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/0.9309, allocations: 4.382 MB / 0.683 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.931, allocations: 17.69 kB / 0.683 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.9316, allocations: 206.6 kB / 0.6832 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/0.9316, allocations: 24.19 kB / 0.6832 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.9317, allocations: 23.19 kB / 0.6832 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.9317, allocations: 30.58 kB / 0.6833 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/0.9317, allocations: 26.88 kB / 0.6833 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/0.9335, allocations: 2.86 MB / 0.6861 GB, free: 170.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.9339, allocations: 284.8 kB / 0.6864 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.9341, allocations: 25.75 kB / 0.6864 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.9348, allocations: 20.89 kB / 0.6864 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.935, allocations: 108.3 kB / 0.6865 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.935, allocations: 48.31 kB / 0.6866 GB, free: 170.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001672/0.9367, allocations: 1.285 MB / 0.6878 GB, free: 170.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003104/0.9398, allocations: 0.5564 MB / 0.6883 GB, free: 170.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.0002983/0.9401, allocations: 167.1 kB / 0.6885 GB, free: 170.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.9431, allocations: 2.06 MB / 0.6905 GB, free: 170.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.9431, allocations: 3.969 kB / 0.6905 GB, free: 170.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.9436, allocations: 456.4 kB / 0.691 GB, free: 170.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.9445, allocations: 213.1 kB / 0.6912 GB, free: 170.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.9542, allocations: 5.322 MB / 0.6964 GB, free: 168.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/0.9575, allocations: 2.975 MB / 0.6993 GB, free: 167.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9576, allocations: 0 / 0.6993 GB, free: 167.6 MB / 474.7 MB Notification: Performance of Templates: time 0.03997/0.9975, allocations: 16.7 MB / 0.7156 GB, free: 166.5 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)