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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 180.5 kB / 7.651 MB, free: 1.402 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.429/1.429, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.00157/0.00157, allocations: 113 kB / 247.4 MB, free: 6.207 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.2183/0.2183, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.539e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5052, allocations: 100.2 MB / 0.5355 GB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5055, allocations: 76.58 kB / 0.5356 GB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1849/0.6904, allocations: 73.96 MB / 0.6078 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6904, allocations: 4 kB / 0.6078 GB, free: 13.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001787/0.6906, allocations: 68 kB / 0.6079 GB, free: 13.84 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.0125/0.7031, allocations: 3.796 MB / 0.6116 GB, free: 9.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7032, allocations: 12.03 kB / 0.6116 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.7076, allocations: 0.6738 MB / 0.6123 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/0.7133, allocations: 2.201 MB / 0.6144 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.7134, allocations: 127.9 kB / 0.6146 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006941/0.7141, allocations: 228 kB / 0.6148 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009985/0.7241, allocations: 5.457 MB / 0.6201 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.739, allocations: 7.116 MB / 0.6271 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/0.7392, allocations: 19.81 kB / 0.6271 GB, free: 9.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/0.7395, allocations: 8 kB / 0.6271 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.7412, allocations: 0.831 MB / 0.6279 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.7863, allocations: 27.68 MB / 0.6549 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7888, allocations: 1.361 MB / 0.6563 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.7901, allocations: 1.013 MB / 0.6572 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.8009, allocations: 7.326 MB / 0.6644 GB, free: 2.227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.801, allocations: 43.12 kB / 0.6644 GB, free: 2.176 MB / 474.7 MB Notification: Performance of pre-optimization done (n=74): time 6.091e-06/0.801, allocations: 3.984 kB / 0.6644 GB, free: 2.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=87): time 0.3315/1.132, allocations: 6.153 MB / 0.6705 GB, free: 123.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.133, allocations: 139 kB / 0.6706 GB, free: 123.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.135, allocations: 1.972 MB / 0.6725 GB, free: 123.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/1.136, allocations: 26.77 kB / 0.6725 GB, free: 123.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.137, allocations: 2.495 MB / 0.675 GB, free: 121.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/1.137, allocations: 358.9 kB / 0.6753 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.137, allocations: 0 / 0.6753 GB, free: 121.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003004/1.138, allocations: 475.8 kB / 0.6758 GB, free: 121.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.139, allocations: 0.9716 MB / 0.6767 GB, free: 121.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.142, allocations: 3.44 MB / 0.6801 GB, free: 118 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/1.146, allocations: 1.918 MB / 0.682 GB, free: 118 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/1.146, allocations: 25.06 kB / 0.682 GB, free: 118 MB / 474.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.00833/1.155, allocations: 4.006 MB / 0.6859 GB, free: 117.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.155, allocations: 49.14 kB / 0.6859 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.155, allocations: 89.47 kB / 0.686 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/1.155, allocations: 130.4 kB / 0.6861 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.158, allocations: 0.969 MB / 0.6871 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001996/1.158, allocations: 175.5 kB / 0.6873 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/1.161, allocations: 113.5 kB / 0.6874 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/1.162, allocations: 245.8 kB / 0.6876 GB, free: 117.7 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.0005215/1.162, allocations: 335.4 kB / 0.6879 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.163, allocations: 207.5 kB / 0.6881 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.164, allocations: 1.122 MB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.164, allocations: 11.66 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.164, allocations: 4.719 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.164, allocations: 11.17 kB / 0.6892 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/1.173, allocations: 4.605 MB / 0.6937 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.173, allocations: 15.09 kB / 0.6938 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/1.173, allocations: 224.5 kB / 0.694 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/1.173, allocations: 26.69 kB / 0.694 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/1.173, allocations: 22.64 kB / 0.694 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-05/1.173, allocations: 33.91 kB / 0.694 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/1.173, allocations: 33.12 kB / 0.6941 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/1.176, allocations: 2.957 MB / 0.697 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/1.176, allocations: 290.5 kB / 0.6972 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/1.176, allocations: 24.81 kB / 0.6973 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/1.177, allocations: 33.48 kB / 0.6973 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.177, allocations: 121.5 kB / 0.6974 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/1.177, allocations: 55.47 kB / 0.6975 GB, free: 113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001505/1.179, allocations: 1.289 MB / 0.6987 GB, free: 112.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.179, allocations: 0 / 0.6987 GB, free: 112.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003811/1.183, allocations: 0.5795 MB / 0.6993 GB, free: 112.8 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.0003078/1.183, allocations: 175 kB / 0.6995 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/1.186, allocations: 2.239 MB / 0.7016 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.186, allocations: 3.312 kB / 0.7017 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/1.186, allocations: 0.5031 MB / 0.7021 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/1.187, allocations: 213.2 kB / 0.7023 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/1.196, allocations: 5.339 MB / 0.7076 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/1.198, allocations: 2.808 MB / 0.7103 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002719/1.201, allocations: 1.023 MB / 0.7113 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/1.201, allocations: 154.4 kB / 0.7114 GB, free: 109.8 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/1.201, allocations: 0 / 0.7114 GB, free: 109.8 MB / 474.7 MB Notification: Performance of Templates: time 0.03338/1.235, allocations: 16.27 MB / 0.7273 GB, free: 108.9 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)