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.008623/0.008623, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001753/0.001753, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3179/0.3179, allocations: 38 MB / 307.9 MB, free: 10.03 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.001457/0.001457, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0139/0.326, allocations: 14.22 MB / 0.4919 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.3368, allocations: 4.28 MB / 0.4961 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004955/0.3418, allocations: 75.03 kB / 0.4961 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.3463, allocations: 1.977 MB / 0.4981 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.353, allocations: 1.927 MB / 0.4999 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3547, allocations: 0.5577 MB / 0.5005 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.3605, allocations: 4.073 MB / 0.5045 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.364, allocations: 2.869 MB / 0.5073 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.3668, allocations: 1.473 MB / 0.5087 GB, free: 260 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.3703, allocations: 2.035 MB / 0.5107 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008194/0.3711, allocations: 307 kB / 0.511 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3737, allocations: 1.01 MB / 0.512 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.376, allocations: 1.891 MB / 0.5138 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003427/0.3794, allocations: 2.262 MB / 0.516 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.39, allocations: 7.376 MB / 0.5232 GB, free: 5.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.39, allocations: 0 / 0.5232 GB, free: 5.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3901, allocations: 4 kB / 0.5232 GB, free: 5.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002135/0.3903, allocations: 0 / 0.5232 GB, free: 5.043 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.0108/0.4011, allocations: 4.912 MB / 0.528 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.4012, allocations: 11.89 kB / 0.528 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4121, allocations: 3.141 MB / 0.5311 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.4173, allocations: 2.262 MB / 0.5333 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.4175, allocations: 238.3 kB / 0.5336 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008708/0.4184, allocations: 311.8 kB / 0.5338 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.438, allocations: 12.1 MB / 0.5457 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.4381, allocations: 31.66 kB / 0.5457 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/0.4386, allocations: 143.8 kB / 0.5458 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004667/0.4433, allocations: 2.835 MB / 0.5486 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.4646, allocations: 11.38 MB / 0.5597 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06156/0.5262, allocations: 40.94 MB / 0.5997 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.5384, allocations: 6.081 MB / 0.6056 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/0.5425, allocations: 3.006 MB / 0.6086 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/0.5445, allocations: 1.888 MB / 0.6104 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.5446, allocations: 52.56 kB / 0.6105 GB, free: 9.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 6.703e-06/0.5446, allocations: 0 / 0.6105 GB, free: 9.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.04984/0.5945, allocations: 20.15 MB / 0.6301 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.5946, allocations: 73.41 kB / 0.6302 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.5994, allocations: 3.063 MB / 0.6332 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004993/0.6, allocations: 61.7 kB / 0.6333 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3137/0.9136, allocations: 2.997 MB / 0.6362 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/0.9153, allocations: 1.019 MB / 0.6372 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/0.9176, allocations: 1.211 MB / 0.6384 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.9177, allocations: 306.4 kB / 0.6387 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/0.9229, allocations: 2.855 MB / 0.6414 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007301/0.9302, allocations: 6.076 MB / 0.6474 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/0.943, allocations: 9.718 MB / 0.6569 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/0.9432, allocations: 32.22 kB / 0.6569 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02155/0.9647, allocations: 10.08 MB / 0.6667 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.9649, allocations: 56.34 kB / 0.6668 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/0.9651, allocations: 114.4 kB / 0.6669 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/0.9689, allocations: 1.361 MB / 0.6682 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/0.9741, allocations: 1.383 MB / 0.6696 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009745/0.9839, allocations: 7.811 MB / 0.6772 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/0.9888, allocations: 364.5 kB / 0.6776 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/0.9896, allocations: 352.5 kB / 0.6779 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.003764/0.9933, allocations: 2.308 MB / 0.6802 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/0.9939, allocations: 306.4 kB / 0.6804 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009849/1.004, allocations: 6.628 MB / 0.6869 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.458e-05/1.004, allocations: 47.27 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.004, allocations: 7.953 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.004, allocations: 14.91 kB / 0.687 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.023, allocations: 13.9 MB / 0.7006 GB, free: 86.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.023, allocations: 11.97 kB / 0.7006 GB, free: 86.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.025, allocations: 451.3 kB / 0.701 GB, free: 86.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/1.028, allocations: 1.218 MB / 0.7022 GB, free: 85.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/1.028, allocations: 48 kB / 0.7022 GB, free: 85.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/1.036, allocations: 7.006 MB / 0.7091 GB, free: 78.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.036, allocations: 11.94 kB / 0.7091 GB, free: 78.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/1.047, allocations: 9.878 MB / 0.7187 GB, free: 68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/1.05, allocations: 0.8212 MB / 0.7195 GB, free: 67.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/1.05, allocations: 51.98 kB / 0.7196 GB, free: 67.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.052, allocations: 191.7 kB / 0.7198 GB, free: 66.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/1.052, allocations: 165.7 kB / 0.7199 GB, free: 66.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.052, allocations: 68 kB / 0.72 GB, free: 66.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002441/1.055, allocations: 1.891 MB / 0.7218 GB, free: 64.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.055, allocations: 4 kB / 0.7218 GB, free: 64.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007352/1.062, allocations: 1.135 MB / 0.723 GB, free: 63.66 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.00092/1.063, allocations: 197 kB / 0.7231 GB, free: 63.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.074, allocations: 7.014 MB / 0.73 GB, free: 56.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.074, allocations: 0 / 0.73 GB, free: 56.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.077, allocations: 2.86 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.0028/1.08, allocations: 401.4 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.0171/1.097, allocations: 11.38 MB / 0.7443 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003062/1.1, allocations: 3.579 MB / 0.7478 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004214/1.105, allocations: 2.204 MB / 0.7499 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.105, allocations: 239.4 kB / 0.7502 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/1.105, allocations: 0 / 0.7502 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.066/1.171, allocations: 39.58 MB / 0.7888 GB, free: 12.15 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)