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.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3254/0.3254, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.001598/0.001598, allocations: 72.45 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 56.88 MB / 434.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0149/0.1304, allocations: 14.22 MB / 448.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009223/0.1396, allocations: 4.284 MB / 453 MB, free: 1.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1416, allocations: 75.81 kB / 453.1 MB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2306/0.3723, allocations: 1.96 MB / 455 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006788/0.3791, allocations: 1.921 MB / 457 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.3813, allocations: 0.5666 MB / 457.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00719/0.3885, allocations: 4.057 MB / 461.6 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.3934, allocations: 2.889 MB / 464.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.3964, allocations: 1.462 MB / 465.9 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.3997, allocations: 2.036 MB / 468 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.401, allocations: 307.7 kB / 468.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.4043, allocations: 1.015 MB / 469.3 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.4071, allocations: 1.884 MB / 471.2 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004694/0.4119, allocations: 2.267 MB / 473.4 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4223, allocations: 7.056 MB / 480.5 MB, free: 30.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4224, allocations: 0 / 480.5 MB, free: 30.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4224, allocations: 0 / 480.5 MB, free: 30.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004524/0.4228, allocations: 0 / 480.5 MB, free: 30.44 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.0169/0.4397, allocations: 4.912 MB / 485.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.4398, allocations: 12.83 kB / 485.4 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.4541, allocations: 3.138 MB / 488.5 MB, free: 27.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/0.4624, allocations: 2.242 MB / 490.8 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/0.4628, allocations: 238.9 kB / 491 MB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.4648, allocations: 315.7 kB / 491.3 MB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.4883, allocations: 12.09 MB / 0.4916 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.4885, allocations: 36.2 kB / 0.4917 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004819/0.489, allocations: 145.7 kB / 0.4918 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004755/0.4937, allocations: 2.838 MB / 0.4946 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.5151, allocations: 11.38 MB / 0.5057 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08435/0.5995, allocations: 41.18 MB / 0.5459 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.6132, allocations: 6.071 MB / 0.5518 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/0.6179, allocations: 3.011 MB / 0.5548 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.62, allocations: 1.893 MB / 0.5566 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.62, allocations: 58.83 kB / 0.5567 GB, free: 6.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=262): time 5.721e-06/0.62, allocations: 0 / 0.5567 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=283): time 0.04896/0.669, allocations: 20.17 MB / 0.5764 GB, free: 1.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.6691, allocations: 73.41 kB / 0.5764 GB, free: 1.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00714/0.6763, allocations: 3.06 MB / 0.5794 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/0.6774, allocations: 65.7 kB / 0.5795 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003221/0.6806, allocations: 3.003 MB / 0.5824 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002307/0.683, allocations: 1.014 MB / 0.5834 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004709/0.6877, allocations: 1.213 MB / 0.5846 GB, free: 9.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6879, allocations: 305.1 kB / 0.5849 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005531/0.6934, allocations: 2.862 MB / 0.5877 GB, free: 6.137 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007796/0.7012, allocations: 6.067 MB / 0.5936 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/0.7147, allocations: 9.726 MB / 0.6031 GB, free: 3.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.7148, allocations: 32 kB / 0.6031 GB, free: 3.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02062/0.7355, allocations: 10.08 MB / 0.613 GB, free: 9.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.7357, allocations: 55.94 kB / 0.613 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.7359, allocations: 112 kB / 0.6131 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/0.7397, allocations: 1.367 MB / 0.6145 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00557/0.7453, allocations: 1.388 MB / 0.6158 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.7567, allocations: 7.817 MB / 0.6235 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/0.763, allocations: 379.3 kB / 0.6238 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/0.765, allocations: 344 kB / 0.6241 GB, free: 13.54 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.00606/0.771, allocations: 2.301 MB / 0.6264 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.7722, allocations: 308 kB / 0.6267 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.7862, allocations: 6.626 MB / 0.6332 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.815e-05/0.7863, allocations: 51.92 kB / 0.6332 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/0.7864, allocations: 8 kB / 0.6332 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/0.7864, allocations: 11.97 kB / 0.6332 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2811/1.068, allocations: 14.02 MB / 0.6469 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.068, allocations: 6.438 kB / 0.6469 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.07, allocations: 461.2 kB / 0.6474 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/1.073, allocations: 1.214 MB / 0.6485 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.073, allocations: 47.16 kB / 0.6486 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007647/1.081, allocations: 6.963 MB / 0.6554 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/1.081, allocations: 20.45 kB / 0.6554 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/1.097, allocations: 9.849 MB / 0.665 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.099, allocations: 0.8196 MB / 0.6658 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/1.1, allocations: 46.95 kB / 0.6659 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.101, allocations: 195.5 kB / 0.6661 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/1.102, allocations: 166.2 kB / 0.6662 GB, free: 151 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.102, allocations: 73.55 kB / 0.6663 GB, free: 151 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003969/1.106, allocations: 1.889 MB / 0.6681 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.904e-06/1.106, allocations: 0 / 0.6681 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006358/1.112, allocations: 1.144 MB / 0.6693 GB, free: 150.2 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.0007187/1.113, allocations: 188.4 kB / 0.6694 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02083/1.134, allocations: 12.02 MB / 0.6812 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/1.134, allocations: 0 / 0.6812 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004147/1.138, allocations: 2.85 MB / 0.684 GB, free: 146.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.141, allocations: 413.9 kB / 0.6843 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.16, allocations: 11.48 MB / 0.6956 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/1.164, allocations: 3.584 MB / 0.6991 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004968/1.169, allocations: 2.206 MB / 0.7012 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009059/1.169, allocations: 241.4 kB / 0.7014 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.994e-06/1.169, allocations: 0 / 0.7014 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.06414/1.234, allocations: 41.97 MB / 0.7424 GB, free: 91.82 MB / 0.4981 GB 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)