Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005359/0.005359, allocations: 101.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001113, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3125/0.3125, allocations: 38 MB / 307.9 MB, free: 10.2 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 76.5 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3721, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01494/0.3871, allocations: 14.22 MB / 0.4919 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3981, allocations: 4.286 MB / 0.4961 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.4018, allocations: 72.69 kB / 0.4961 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004944/0.4068, allocations: 1.97 MB / 0.4981 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.4139, allocations: 1.985 MB / 0.5 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.416, allocations: 0.5542 MB / 0.5005 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007748/0.4238, allocations: 4.066 MB / 0.5045 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/0.4283, allocations: 2.877 MB / 0.5073 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.4317, allocations: 1.477 MB / 0.5088 GB, free: 140 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.4364, allocations: 2.035 MB / 0.5108 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.438, allocations: 306.8 kB / 0.511 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.442, allocations: 1.014 MB / 0.512 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.4456, allocations: 1.891 MB / 0.5139 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006576/0.4522, allocations: 2.265 MB / 0.5161 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4643, allocations: 7.371 MB / 0.5233 GB, free: 5.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4644, allocations: 4 kB / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4644, allocations: 0 / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002345/0.4646, allocations: 0 / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.00997/0.4746, allocations: 4.912 MB / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4747, allocations: 15.89 kB / 0.5281 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4848, allocations: 3.138 MB / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.4904, allocations: 2.262 MB / 0.5334 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.4906, allocations: 238.3 kB / 0.5336 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000696/0.4913, allocations: 323.8 kB / 0.5339 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.5129, allocations: 12.09 MB / 0.5457 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/0.5131, allocations: 39.64 kB / 0.5458 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.5144, allocations: 147.8 kB / 0.5459 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004997/0.5194, allocations: 2.835 MB / 0.5487 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.5457, allocations: 11.37 MB / 0.5598 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07078/0.6165, allocations: 40.94 MB / 0.5998 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/0.6308, allocations: 6.082 MB / 0.6057 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/0.6353, allocations: 3.013 MB / 0.6086 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/0.6372, allocations: 1.88 MB / 0.6105 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.6373, allocations: 56.56 kB / 0.6105 GB, free: 9.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 6.782e-06/0.6373, allocations: 0 / 0.6105 GB, free: 9.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.05059/0.6879, allocations: 20.14 MB / 0.6302 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.6881, allocations: 77.41 kB / 0.6303 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/0.6947, allocations: 3.063 MB / 0.6333 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.6951, allocations: 65.7 kB / 0.6333 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3781/1.073, allocations: 3.001 MB / 0.6363 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/1.075, allocations: 1.018 MB / 0.6372 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002791/1.078, allocations: 1.201 MB / 0.6384 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/1.078, allocations: 304.9 kB / 0.6387 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/1.084, allocations: 2.859 MB / 0.6415 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006971/1.091, allocations: 6.071 MB / 0.6474 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.105, allocations: 9.718 MB / 0.6569 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.105, allocations: 32.09 kB / 0.657 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02425/1.129, allocations: 10.09 MB / 0.6668 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.129, allocations: 52.78 kB / 0.6669 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/1.13, allocations: 111.9 kB / 0.667 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/1.134, allocations: 1.366 MB / 0.6683 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00611/1.14, allocations: 1.382 MB / 0.6696 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.151, allocations: 7.808 MB / 0.6773 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.156, allocations: 373.4 kB / 0.6776 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/1.157, allocations: 346.4 kB / 0.678 GB, free: 104.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (728): * Single equations (assignments): 721 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004353/1.161, allocations: 2.303 MB / 0.6802 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/1.162, allocations: 312.4 kB / 0.6805 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009727/1.172, allocations: 6.62 MB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.701e-05/1.172, allocations: 48.72 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.172, allocations: 8.812 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.172, allocations: 11.25 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.191, allocations: 13.91 MB / 0.7006 GB, free: 86.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.191, allocations: 11.94 kB / 0.7006 GB, free: 86.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.193, allocations: 447.3 kB / 0.7011 GB, free: 86.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/1.196, allocations: 1.211 MB / 0.7022 GB, free: 85.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/1.196, allocations: 55.98 kB / 0.7023 GB, free: 85.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/1.204, allocations: 7.005 MB / 0.7091 GB, free: 78.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.204, allocations: 11.94 kB / 0.7091 GB, free: 78.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/1.216, allocations: 9.874 MB / 0.7188 GB, free: 68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/1.218, allocations: 0.8289 MB / 0.7196 GB, free: 67.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.219, allocations: 51.67 kB / 0.7196 GB, free: 67.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.22, allocations: 191.7 kB / 0.7198 GB, free: 66.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/1.221, allocations: 157.7 kB / 0.72 GB, free: 66.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.221, allocations: 83.98 kB / 0.7201 GB, free: 66.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002777/1.224, allocations: 1.889 MB / 0.7219 GB, free: 64.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.224, allocations: 0 / 0.7219 GB, free: 64.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005518/1.229, allocations: 1.135 MB / 0.723 GB, free: 63.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005797/1.23, allocations: 196.9 kB / 0.7232 GB, free: 63.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009892/1.24, allocations: 7.015 MB / 0.7301 GB, free: 56.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.24, allocations: 3.938 kB / 0.7301 GB, free: 56.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.243, allocations: 2.852 MB / 0.7328 GB, free: 53.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.246, allocations: 411.6 kB / 0.7332 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.262, allocations: 11.35 MB / 0.7443 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/1.266, allocations: 3.585 MB / 0.7478 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004547/1.27, allocations: 2.204 MB / 0.75 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/1.271, allocations: 247.4 kB / 0.7502 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/1.271, allocations: 0 / 0.7502 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.06415/1.335, allocations: 39.57 MB / 0.7889 GB, free: 12.16 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)