Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001128/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001358/0.001358, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3025/0.3025, allocations: 39.94 MB / 309.3 MB, free: 9.25 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.2. 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.001353/0.001353, allocations: 71.89 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 56.89 MB / 433.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2611/0.3836, allocations: 42.11 MB / 475.9 MB, free: 28.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.4013, allocations: 8.912 MB / 484.8 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007639/0.409, allocations: 177.1 kB / 485 MB, free: 23.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.4124, allocations: 1.928 MB / 486.9 MB, free: 22.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.4169, allocations: 1.799 MB / 488.7 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.4179, allocations: 0.5228 MB / 489.3 MB, free: 21.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004904/0.4228, allocations: 5.731 MB / 495 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.4257, allocations: 2.81 MB / 497.8 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.4278, allocations: 1.279 MB / 499.1 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.4308, allocations: 2.132 MB / 0.4895 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006083/0.4314, allocations: 220.1 kB / 0.4897 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.4337, allocations: 0.9871 MB / 0.4906 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002262/0.4359, allocations: 1.814 MB / 0.4924 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003441/0.4394, allocations: 2.199 MB / 0.4946 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4498, allocations: 6.973 MB / 0.5014 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4498, allocations: 0 / 0.5014 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4499, allocations: 2.688 kB / 0.5014 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003667/0.4502, allocations: 0 / 0.5014 GB, free: 12.71 MB / 382.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.0115/0.4617, allocations: 4.919 MB / 0.5062 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4618, allocations: 10 kB / 0.5062 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.4719, allocations: 3.14 MB / 0.5092 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.4776, allocations: 2.231 MB / 0.5114 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4779, allocations: 246.8 kB / 0.5117 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.4795, allocations: 308.6 kB / 0.512 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.5013, allocations: 12.09 MB / 0.5238 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.5015, allocations: 35.69 kB / 0.5238 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005607/0.5021, allocations: 147.8 kB / 0.5239 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004801/0.5069, allocations: 2.839 MB / 0.5267 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/0.5306, allocations: 11.37 MB / 0.5378 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06381/0.5944, allocations: 41.2 MB / 0.578 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.6062, allocations: 6.07 MB / 0.584 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/0.6102, allocations: 3.01 MB / 0.5869 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.6119, allocations: 1.891 MB / 0.5888 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.612, allocations: 52.56 kB / 0.5888 GB, free: 8.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 7.033e-06/0.612, allocations: 0 / 0.5888 GB, free: 8.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04671/0.6587, allocations: 20.15 MB / 0.6085 GB, free: 3.785 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.6588, allocations: 73.41 kB / 0.6086 GB, free: 3.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/0.6631, allocations: 3.063 MB / 0.6116 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005929/0.6637, allocations: 65.69 kB / 0.6116 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.6656, allocations: 3.008 MB / 0.6146 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.667, allocations: 1.01 MB / 0.6155 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.6687, allocations: 1.206 MB / 0.6167 GB, free: 11.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6689, allocations: 309.1 kB / 0.617 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/0.6731, allocations: 2.858 MB / 0.6198 GB, free: 8.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006636/0.6797, allocations: 6.067 MB / 0.6257 GB, free: 472 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2633/0.9431, allocations: 9.727 MB / 0.6352 GB, free: 138.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.891e-05/0.9432, allocations: 32.78 kB / 0.6353 GB, free: 138.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01919/0.9624, allocations: 10.09 MB / 0.6451 GB, free: 135.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/0.9625, allocations: 51.12 kB / 0.6452 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/0.9627, allocations: 113.1 kB / 0.6453 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.9663, allocations: 1.359 MB / 0.6466 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005973/0.9722, allocations: 1.386 MB / 0.6479 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009565/0.9818, allocations: 7.29 MB / 0.6551 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005591/0.9875, allocations: 378.9 kB / 0.6554 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.9889, allocations: 346.7 kB / 0.6558 GB, free: 131.4 MB / 494.1 MB 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.005198/0.9941, allocations: 2.3 MB / 0.658 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/0.9948, allocations: 304.8 kB / 0.6583 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.006, allocations: 6.622 MB / 0.6648 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/1.006, allocations: 49.25 kB / 0.6648 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.006, allocations: 8.75 kB / 0.6648 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/1.006, allocations: 17.25 kB / 0.6648 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.031, allocations: 14.02 MB / 0.6785 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.031, allocations: 8.156 kB / 0.6785 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.033, allocations: 455.3 kB / 0.679 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/1.036, allocations: 1.214 MB / 0.6802 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004959/1.037, allocations: 50.75 kB / 0.6802 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/1.044, allocations: 6.525 MB / 0.6866 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.044, allocations: 11.94 kB / 0.6866 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.057, allocations: 9.858 MB / 0.6962 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.059, allocations: 0.815 MB / 0.697 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007193/1.06, allocations: 49.97 kB / 0.6971 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.061, allocations: 193.6 kB / 0.6972 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.062, allocations: 164.8 kB / 0.6974 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.062, allocations: 82.97 kB / 0.6975 GB, free: 109.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003279/1.065, allocations: 1.887 MB / 0.6993 GB, free: 107.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.065, allocations: 0 / 0.6993 GB, free: 107.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005821/1.071, allocations: 1.135 MB / 0.7004 GB, free: 106.2 MB / 494.1 MB 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.0005285/1.072, allocations: 192.8 kB / 0.7006 GB, free: 106 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00852/1.08, allocations: 6.958 MB / 0.7074 GB, free: 99.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.08, allocations: 6.906 kB / 0.7074 GB, free: 99.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/1.084, allocations: 2.863 MB / 0.7102 GB, free: 96.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.086, allocations: 394 kB / 0.7106 GB, free: 95.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.106, allocations: 13.85 MB / 0.7241 GB, free: 81.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/1.11, allocations: 3.587 MB / 0.7276 GB, free: 78.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005181/1.115, allocations: 2.21 MB / 0.7298 GB, free: 76.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008291/1.116, allocations: 239.4 kB / 0.73 GB, free: 75.87 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/1.116, allocations: 4 kB / 0.73 GB, free: 75.86 MB / 494.1 MB Notification: Performance of Templates: time 0.05953/1.176, allocations: 40.49 MB / 0.7695 GB, free: 35.48 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)