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.006269/0.006269, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001342/0.001342, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1978/0.1978, allocations: 39.97 MB / 309.9 MB, free: 4.027 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.001326/0.001326, allocations: 65.84 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1382, allocations: 56.89 MB / 492.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01605/0.1543, allocations: 14.21 MB / 0.495 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1649, allocations: 4.276 MB / 0.4992 GB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.1679, allocations: 75.88 kB / 0.4992 GB, free: 124 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.1727, allocations: 1.977 MB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.1798, allocations: 1.965 MB / 0.5031 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.1818, allocations: 0.5614 MB / 0.5036 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00689/0.1887, allocations: 4.081 MB / 0.5076 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/0.1939, allocations: 2.878 MB / 0.5104 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.1974, allocations: 1.468 MB / 0.5119 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.2013, allocations: 2.036 MB / 0.5139 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.2026, allocations: 308 kB / 0.5142 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.354/0.5566, allocations: 1.011 MB / 0.5151 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003418/0.5601, allocations: 1.882 MB / 0.517 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006301/0.5664, allocations: 2.272 MB / 0.5192 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.5828, allocations: 7.372 MB / 0.5264 GB, free: 6.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.5828, allocations: 1.75 kB / 0.5264 GB, free: 6.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5828, allocations: 0 / 0.5264 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004219/0.5833, allocations: 0 / 0.5264 GB, free: 6.66 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.02262/0.6059, allocations: 4.91 MB / 0.5312 GB, free: 4.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.904e-05/0.606, allocations: 16.83 kB / 0.5312 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.6189, allocations: 3.138 MB / 0.5343 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00912/0.6281, allocations: 2.262 MB / 0.5365 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005283/0.6286, allocations: 240.1 kB / 0.5367 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/0.6315, allocations: 312.4 kB / 0.537 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03283/0.6644, allocations: 12.1 MB / 0.5488 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/0.6647, allocations: 28.28 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002931/0.6677, allocations: 142.7 kB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00526/0.6729, allocations: 2.846 MB / 0.5518 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.7016, allocations: 11.38 MB / 0.5629 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08235/0.784, allocations: 40.94 MB / 0.6029 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.797, allocations: 6.081 MB / 0.6088 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004968/0.802, allocations: 3.012 MB / 0.6117 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/0.804, allocations: 1.883 MB / 0.6136 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.661e-05/0.8041, allocations: 64.55 kB / 0.6136 GB, free: 13.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.021e-06/0.8041, allocations: 0 / 0.6136 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05572/0.8599, allocations: 20.14 MB / 0.6333 GB, free: 9.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.86, allocations: 77.41 kB / 0.6334 GB, free: 9.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/0.868, allocations: 3.052 MB / 0.6364 GB, free: 6.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006184/0.8686, allocations: 64.12 kB / 0.6364 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003039/0.8717, allocations: 3.008 MB / 0.6394 GB, free: 2.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.8737, allocations: 1.023 MB / 0.6404 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004454/0.8782, allocations: 1.208 MB / 0.6415 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.8784, allocations: 305.1 kB / 0.6418 GB, free: 420 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005863/0.8843, allocations: 2.854 MB / 0.6446 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008425/0.8927, allocations: 6.071 MB / 0.6506 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/0.907, allocations: 9.727 MB / 0.6601 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.9071, allocations: 32 kB / 0.6601 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02131/0.9285, allocations: 10.09 MB / 0.6699 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.9286, allocations: 52 kB / 0.67 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/0.9288, allocations: 115.9 kB / 0.6701 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/0.9328, allocations: 1.362 MB / 0.6714 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/0.9389, allocations: 1.392 MB / 0.6728 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.9508, allocations: 7.809 MB / 0.6804 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/0.9571, allocations: 366.8 kB / 0.6808 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/0.9592, allocations: 348 kB / 0.6811 GB, free: 5.777 MB / 0.5294 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.00746/0.9667, allocations: 2.307 MB / 0.6833 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/0.9682, allocations: 308 kB / 0.6836 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.9825, allocations: 6.624 MB / 0.6901 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/0.9826, allocations: 49.97 kB / 0.6902 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.9826, allocations: 8 kB / 0.6902 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.9827, allocations: 11.95 kB / 0.6902 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/1.017, allocations: 13.89 MB / 0.7037 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.017, allocations: 12 kB / 0.7037 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/1.019, allocations: 454.4 kB / 0.7042 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003773/1.023, allocations: 1.21 MB / 0.7054 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007764/1.024, allocations: 58.02 kB / 0.7054 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/1.034, allocations: 7.018 MB / 0.7123 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.034, allocations: 11.97 kB / 0.7123 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/1.054, allocations: 9.866 MB / 0.7219 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/1.057, allocations: 0.8172 MB / 0.7227 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.059, allocations: 49.47 kB / 0.7228 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.062, allocations: 195.7 kB / 0.723 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000937/1.063, allocations: 163.2 kB / 0.7231 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/1.063, allocations: 79.98 kB / 0.7232 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006172/1.069, allocations: 1.887 MB / 0.725 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.069, allocations: 0 / 0.725 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01004/1.08, allocations: 1.143 MB / 0.7261 GB, free: 7.121 MB / 0.5762 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.001522/1.081, allocations: 190.2 kB / 0.7263 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.3471/1.428, allocations: 7.001 MB / 0.7332 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.723e-05/1.428, allocations: 4.406 kB / 0.7332 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00699/1.435, allocations: 2.855 MB / 0.736 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/1.439, allocations: 419.2 kB / 0.7364 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/1.465, allocations: 11.36 MB / 0.7474 GB, free: 203.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.47, allocations: 3.585 MB / 0.7509 GB, free: 202 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005258/1.476, allocations: 2.211 MB / 0.7531 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009239/1.476, allocations: 243.8 kB / 0.7533 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.476, allocations: 0 / 0.7533 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06983/1.546, allocations: 39.56 MB / 0.792 GB, free: 167.8 MB / 0.5762 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)