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.00631/0.00631, allocations: 100 kB / 15.73 MB, free: 6.016 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.001623/0.001624, allocations: 187.6 kB / 16.67 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3034/0.3034, allocations: 37.98 MB / 307.9 MB, free: 10.07 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.001466/0.001466, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3166, allocations: 56.47 MB / 489.5 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01386/0.3305, allocations: 14.21 MB / 0.4919 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3414, allocations: 4.287 MB / 0.4961 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.3448, allocations: 74.84 kB / 0.4961 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004559/0.3494, allocations: 1.968 MB / 0.4981 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.3558, allocations: 1.924 MB / 0.4999 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3575, allocations: 0.5551 MB / 0.5005 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007046/0.3646, allocations: 4.076 MB / 0.5045 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003949/0.3686, allocations: 2.884 MB / 0.5073 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.3716, allocations: 1.462 MB / 0.5087 GB, free: 156 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.3751, allocations: 2.038 MB / 0.5107 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009679/0.3761, allocations: 307.1 kB / 0.511 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.3792, allocations: 1.017 MB / 0.512 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.3817, allocations: 1.887 MB / 0.5138 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003214/0.3849, allocations: 2.266 MB / 0.516 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3957, allocations: 7.408 MB / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3958, allocations: 0 / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3958, allocations: 0 / 0.5233 GB, free: 5.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.396, 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.009338/0.4053, allocations: 5.036 MB / 0.5282 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4054, allocations: 15.89 kB / 0.5282 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.4164, allocations: 3.168 MB / 0.5313 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.4217, allocations: 2.267 MB / 0.5335 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.422, allocations: 242.3 kB / 0.5337 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007835/0.4228, allocations: 315.9 kB / 0.534 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/0.4453, allocations: 12.09 MB / 0.5459 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.4455, allocations: 27.77 kB / 0.5459 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005135/0.446, allocations: 155.7 kB / 0.546 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005368/0.4514, allocations: 2.839 MB / 0.5488 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.4762, allocations: 11.37 MB / 0.5599 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06397/0.5402, allocations: 41.03 MB / 0.6 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.5525, allocations: 6.082 MB / 0.6059 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004155/0.5567, allocations: 3.005 MB / 0.6088 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/0.5584, allocations: 1.884 MB / 0.6107 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.5584, allocations: 56.56 kB / 0.6107 GB, free: 9.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 4.709e-06/0.5584, allocations: 0 / 0.6107 GB, free: 9.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.04725/0.6057, allocations: 20.24 MB / 0.6305 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.6058, allocations: 73.41 kB / 0.6306 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/0.6105, allocations: 3.061 MB / 0.6336 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005989/0.6111, allocations: 65.7 kB / 0.6336 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3162/0.9273, allocations: 3.128 MB / 0.6367 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/0.9293, allocations: 1.069 MB / 0.6377 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/0.9317, allocations: 1.211 MB / 0.6389 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.9317, allocations: 305.2 kB / 0.6392 GB, free: 125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005032/0.9368, allocations: 2.86 MB / 0.642 GB, free: 124 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/0.944, allocations: 6.071 MB / 0.6479 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/0.9588, allocations: 9.721 MB / 0.6574 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003583/0.9592, allocations: 32.72 kB / 0.6574 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02561/0.9849, allocations: 10.1 MB / 0.6673 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.9852, allocations: 52.72 kB / 0.6674 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003182/0.9855, allocations: 111.9 kB / 0.6675 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/0.9896, allocations: 1.362 MB / 0.6688 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/0.9952, allocations: 1.392 MB / 0.6701 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.006, allocations: 7.817 MB / 0.6778 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/1.012, allocations: 365.1 kB / 0.6781 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.013, allocations: 346.2 kB / 0.6785 GB, free: 103.8 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.006007/1.019, allocations: 2.307 MB / 0.6807 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.02, allocations: 324.2 kB / 0.681 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.032, allocations: 6.628 MB / 0.6875 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-05/1.032, allocations: 50.56 kB / 0.6875 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-05/1.032, allocations: 6.375 kB / 0.6876 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.032, allocations: 12.38 kB / 0.6876 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.057, allocations: 13.89 MB / 0.7011 GB, free: 86.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.057, allocations: 8 kB / 0.7011 GB, free: 86.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.058, allocations: 455.3 kB / 0.7016 GB, free: 86.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/1.062, allocations: 1.211 MB / 0.7028 GB, free: 84.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.062, allocations: 55.98 kB / 0.7028 GB, free: 84.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007497/1.069, allocations: 7.006 MB / 0.7097 GB, free: 77.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.069, allocations: 15.88 kB / 0.7097 GB, free: 77.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.082, allocations: 9.895 MB / 0.7193 GB, free: 67.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.084, allocations: 0.8394 MB / 0.7201 GB, free: 66.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.084, allocations: 47.98 kB / 0.7202 GB, free: 66.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.086, allocations: 190.7 kB / 0.7204 GB, free: 66.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.086, allocations: 165.6 kB / 0.7205 GB, free: 66.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.087, allocations: 77.19 kB / 0.7206 GB, free: 66.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00254/1.089, allocations: 1.891 MB / 0.7225 GB, free: 64.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.089, allocations: 0 / 0.7225 GB, free: 64.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005745/1.095, allocations: 1.144 MB / 0.7236 GB, free: 63.27 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.0005842/1.096, allocations: 197.4 kB / 0.7238 GB, free: 63.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.106, allocations: 7.008 MB / 0.7306 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.107, allocations: 4 kB / 0.7306 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.11, allocations: 2.857 MB / 0.7334 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.112, allocations: 417.4 kB / 0.7338 GB, free: 52.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.132, allocations: 11.5 MB / 0.745 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/1.135, allocations: 3.583 MB / 0.7485 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004555/1.14, allocations: 2.208 MB / 0.7507 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/1.141, allocations: 243.4 kB / 0.7509 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.141, allocations: 0 / 0.7509 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.06573/1.206, allocations: 39.58 MB / 0.7896 GB, free: 11.61 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)