Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") [: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.004458/0.004459, allocations: 186.3 kB / 7.463 MB, free: 2.504 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.27/1.27, allocations: 194.2 MB / 202.1 MB, free: 8.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.001804/0.001803, allocations: 121.5 kB / 247.1 MB, free: 6.223 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.1806/0.1806, allocations: 39.95 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.923e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09257, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.3903, allocations: 101.5 MB / 0.5363 GB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.3906, allocations: 80.27 kB / 0.5364 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1726/0.5632, allocations: 69.27 MB / 0.604 GB, free: 1.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002394/0.5635, allocations: 83.98 kB / 0.6041 GB, free: 1.633 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01175/0.5753, allocations: 3.875 MB / 0.6079 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5754, allocations: 8.031 kB / 0.6079 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.5799, allocations: 0.6774 MB / 0.6086 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007185/0.5871, allocations: 2.583 MB / 0.6111 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.5874, allocations: 136 kB / 0.6112 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.5891, allocations: 244 kB / 0.6114 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01225/0.6014, allocations: 5.826 MB / 0.6171 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.6191, allocations: 7.534 MB / 0.6245 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.6193, allocations: 15.86 kB / 0.6245 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.6205, allocations: 15.94 kB / 0.6245 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.6222, allocations: 0.8277 MB / 0.6253 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04772/0.67, allocations: 27.63 MB / 0.6523 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.6725, allocations: 1.327 MB / 0.6536 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.6739, allocations: 0.8613 MB / 0.6545 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00964/0.6835, allocations: 6.382 MB / 0.6607 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.6836, allocations: 54.98 kB / 0.6607 GB, free: 5.914 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 3.837e-06/0.6836, allocations: 0 / 0.6607 GB, free: 5.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=79): time 0.01469/0.6983, allocations: 5.809 MB / 0.6664 GB, free: 28 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2055/0.9039, allocations: 172.6 kB / 0.6666 GB, free: 89.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.9066, allocations: 2.068 MB / 0.6686 GB, free: 88.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.9067, allocations: 25.7 kB / 0.6686 GB, free: 88.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008438/0.9076, allocations: 2.473 MB / 0.671 GB, free: 88.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.9078, allocations: 322.7 kB / 0.6713 GB, free: 88.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.9079, allocations: 0 / 0.6713 GB, free: 88.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9081, allocations: 470.4 kB / 0.6718 GB, free: 87.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.9092, allocations: 0.9775 MB / 0.6727 GB, free: 87.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.9111, allocations: 3.37 MB / 0.676 GB, free: 84.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.9129, allocations: 1.788 MB / 0.6778 GB, free: 84.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/0.913, allocations: 27.06 kB / 0.6778 GB, free: 84.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.004905/0.9179, allocations: 3.788 MB / 0.6815 GB, free: 84.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9179, allocations: 3.406 kB / 0.6815 GB, free: 84.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.938e-05/0.918, allocations: 89.44 kB / 0.6816 GB, free: 84.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.9181, allocations: 125.3 kB / 0.6817 GB, free: 84.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.9208, allocations: 0.9282 MB / 0.6826 GB, free: 84.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.866e-05/0.9208, allocations: 168 kB / 0.6828 GB, free: 84.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.9231, allocations: 130.2 kB / 0.6829 GB, free: 84.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.9233, allocations: 247.7 kB / 0.6831 GB, free: 84.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (498): * Single equations (assignments): 497 * 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.0003616/0.9237, allocations: 333.7 kB / 0.6835 GB, free: 84.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.924, allocations: 209.5 kB / 0.6837 GB, free: 83.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.9253, allocations: 0.9691 MB / 0.6846 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.9254, allocations: 7.875 kB / 0.6846 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9254, allocations: 0 / 0.6846 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.9254, allocations: 11.48 kB / 0.6846 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.9324, allocations: 4.817 MB / 0.6893 GB, free: 82.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.9324, allocations: 22.97 kB / 0.6893 GB, free: 82.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.9333, allocations: 251.5 kB / 0.6896 GB, free: 82.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.889e-05/0.9333, allocations: 28.97 kB / 0.6896 GB, free: 82.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.9334, allocations: 27.11 kB / 0.6896 GB, free: 82.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/0.9334, allocations: 37.23 kB / 0.6897 GB, free: 82.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/0.9334, allocations: 31.03 kB / 0.6897 GB, free: 82.36 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002346/0.9358, allocations: 3.587 MB / 0.6932 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.9362, allocations: 299.1 kB / 0.6935 GB, free: 78.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.9365, allocations: 33.23 kB / 0.6935 GB, free: 78.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/0.9375, allocations: 36.16 kB / 0.6936 GB, free: 78.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.9376, allocations: 115.4 kB / 0.6937 GB, free: 78.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.9377, allocations: 61.25 kB / 0.6937 GB, free: 78.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001697/0.9394, allocations: 1.383 MB / 0.6951 GB, free: 78.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00298/0.9424, allocations: 0.5944 MB / 0.6957 GB, free: 78.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.000264/0.9427, allocations: 183.5 kB / 0.6958 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.9454, allocations: 2.307 MB / 0.6981 GB, free: 78.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.9454, allocations: 3.25 kB / 0.6981 GB, free: 78.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.9461, allocations: 0.5959 MB / 0.6987 GB, free: 78.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.9473, allocations: 231.9 kB / 0.6989 GB, free: 78.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.9576, allocations: 5.993 MB / 0.7047 GB, free: 76.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003415/0.9611, allocations: 3.22 MB / 0.7079 GB, free: 75.72 MB / 474.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9611, allocations: 1.844 kB / 0.7079 GB, free: 75.72 MB / 474.7 MB Notification: Performance of Templates: time 0.03987/1.001, allocations: 19.55 MB / 0.727 GB, free: 74.29 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)