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.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001665/0.001665, allocations: 192.4 kB / 16.25 MB, free: 6.578 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.403/1.403, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.3323/0.3323, allocations: 37.98 MB / 307.4 MB, free: 10.06 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.001336/0.001336, allocations: 68.53 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 56.48 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.276/0.4228, allocations: 42.1 MB / 473.3 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.4415, allocations: 8.831 MB / 482.1 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/0.4538, allocations: 168.3 kB / 482.3 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005826/0.4597, allocations: 1.874 MB / 484.2 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007561/0.4673, allocations: 1.801 MB / 486 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.4694, allocations: 0.524 MB / 486.5 MB, free: 24.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00663/0.476, allocations: 4.078 MB / 490.6 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005654/0.4817, allocations: 3.022 MB / 493.6 MB, free: 21.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.4854, allocations: 1.48 MB / 495.1 MB, free: 21.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/0.4895, allocations: 2.217 MB / 497.3 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.4909, allocations: 306.7 kB / 497.6 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.4947, allocations: 1.031 MB / 498.6 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003216/0.4979, allocations: 1.905 MB / 0.4888 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005919/0.5039, allocations: 2.288 MB / 0.491 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.5177, allocations: 7.094 MB / 0.498 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5178, allocations: 0 / 0.498 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5178, allocations: 5.125 kB / 0.498 GB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003923/0.5182, allocations: 0 / 0.498 GB, free: 15.14 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.01575/0.534, allocations: 4.918 MB / 0.5028 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.534, allocations: 13.92 kB / 0.5028 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.5454, allocations: 3.133 MB / 0.5058 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/0.5521, allocations: 2.243 MB / 0.508 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/0.5524, allocations: 242.8 kB / 0.5083 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.554, allocations: 313.4 kB / 0.5086 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/0.5787, allocations: 12.09 MB / 0.5204 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.579, allocations: 35.66 kB / 0.5204 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.5797, allocations: 147.8 kB / 0.5206 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007177/0.5869, allocations: 2.832 MB / 0.5233 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/0.6209, allocations: 11.38 MB / 0.5344 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08936/0.7103, allocations: 41.19 MB / 0.5746 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.7223, allocations: 6.071 MB / 0.5806 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004256/0.7266, allocations: 3.012 MB / 0.5835 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.7282, allocations: 1.884 MB / 0.5854 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.7283, allocations: 64.48 kB / 0.5854 GB, free: 13.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 7.153e-06/0.7283, allocations: 4 kB / 0.5854 GB, free: 13.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05564/0.7839, allocations: 20.15 MB / 0.6051 GB, free: 8.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.7841, allocations: 77.41 kB / 0.6052 GB, free: 8.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00694/0.791, allocations: 3.063 MB / 0.6082 GB, free: 5.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001101/0.7922, allocations: 65.69 kB / 0.6082 GB, free: 5.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002999/0.7952, allocations: 2.997 MB / 0.6112 GB, free: 2.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002177/0.7974, allocations: 1.021 MB / 0.6122 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00512/0.8026, allocations: 1.21 MB / 0.6133 GB, free: 212 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8028, allocations: 309 kB / 0.6136 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004986/0.8078, allocations: 2.858 MB / 0.6164 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/0.8147, allocations: 6.071 MB / 0.6223 GB, free: 5.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3282/1.143, allocations: 9.717 MB / 0.6318 GB, free: 142.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.143, allocations: 32.84 kB / 0.6319 GB, free: 142.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01903/1.162, allocations: 10.08 MB / 0.6417 GB, free: 139.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/1.162, allocations: 54.61 kB / 0.6418 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.162, allocations: 109.9 kB / 0.6419 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/1.166, allocations: 1.365 MB / 0.6432 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/1.171, allocations: 1.387 MB / 0.6446 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009031/1.18, allocations: 7.814 MB / 0.6522 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/1.185, allocations: 370.7 kB / 0.6525 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.187, allocations: 350.3 kB / 0.6529 GB, free: 135.5 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.005117/1.192, allocations: 2.297 MB / 0.6551 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009533/1.193, allocations: 311.5 kB / 0.6554 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.205, allocations: 6.625 MB / 0.6619 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/1.205, allocations: 53.81 kB / 0.6619 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.205, allocations: 3.281 kB / 0.6619 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/1.205, allocations: 11.17 kB / 0.662 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.233, allocations: 14.03 MB / 0.6757 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.233, allocations: 7.531 kB / 0.6757 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.235, allocations: 455.2 kB / 0.6761 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/1.238, allocations: 1.216 MB / 0.6773 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003378/1.239, allocations: 55.59 kB / 0.6773 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/1.247, allocations: 6.968 MB / 0.6841 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.247, allocations: 11.19 kB / 0.6842 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.261, allocations: 9.857 MB / 0.6938 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.263, allocations: 0.8173 MB / 0.6946 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006031/1.264, allocations: 51.36 kB / 0.6946 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.265, allocations: 198.8 kB / 0.6948 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/1.266, allocations: 158.9 kB / 0.695 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/1.266, allocations: 79.98 kB / 0.695 GB, free: 115.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00304/1.269, allocations: 1.894 MB / 0.6969 GB, free: 113.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.269, allocations: 0 / 0.6969 GB, free: 113.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006575/1.276, allocations: 1.135 MB / 0.698 GB, free: 112.3 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.0006468/1.276, allocations: 192.9 kB / 0.6982 GB, free: 112.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01782/1.294, allocations: 12.01 MB / 0.7099 GB, free: 100.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.294, allocations: 4 kB / 0.7099 GB, free: 100.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/1.298, allocations: 2.863 MB / 0.7127 GB, free: 97.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.3, allocations: 410.5 kB / 0.7131 GB, free: 96.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.321, allocations: 13.84 MB / 0.7266 GB, free: 83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003794/1.325, allocations: 3.591 MB / 0.7301 GB, free: 79.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005115/1.33, allocations: 2.202 MB / 0.7323 GB, free: 77.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009075/1.331, allocations: 247.4 kB / 0.7325 GB, free: 76.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/1.331, allocations: 0 / 0.7325 GB, free: 76.94 MB / 494.1 MB Notification: Performance of Templates: time 0.0688/1.4, allocations: 41.97 MB / 0.7735 GB, free: 35.06 MB / 494.1 MB 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)