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.0007994/0.0007994, allocations: 95.38 kB / 15.37 MB, free: 0.7227 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.000921/0.000921, allocations: 175.9 kB / 16.27 MB, free: 6.684 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.388/1.388, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3303/0.3303, allocations: 38.04 MB / 308.8 MB, free: 10.31 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.0005579/0.000558, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2527/0.3869, allocations: 40.92 MB / 475.5 MB, free: 30.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.4063, allocations: 8.866 MB / 484.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.4168, allocations: 169.4 kB / 484.5 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.4186, allocations: 0.4929 MB / 485 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.4242, allocations: 1.81 MB / 486.8 MB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.4259, allocations: 0.5146 MB / 487.3 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006693/0.4326, allocations: 5.727 MB / 493.1 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/0.4393, allocations: 3.556 MB / 496.6 MB, free: 22.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.443, allocations: 1.123 MB / 497.7 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.4471, allocations: 1.952 MB / 499.7 MB, free: 20.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.4486, allocations: 158.6 kB / 499.9 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.4517, allocations: 0.92 MB / 0.489 GB, free: 20.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003574/0.4553, allocations: 1.745 MB / 0.4907 GB, free: 20.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005815/0.4612, allocations: 2.103 MB / 0.4928 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.4735, allocations: 6.806 MB / 0.4994 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4736, allocations: 6.922 kB / 0.4994 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4736, allocations: 0 / 0.4994 GB, free: 16.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003723/0.474, allocations: 0 / 0.4994 GB, free: 16.75 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.01339/0.4874, allocations: 3.999 MB / 0.5034 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4874, allocations: 9.125 kB / 0.5034 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.4999, allocations: 3.236 MB / 0.5065 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006921/0.5069, allocations: 2.232 MB / 0.5087 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.5073, allocations: 239.6 kB / 0.5089 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.5093, allocations: 315.8 kB / 0.5092 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.5368, allocations: 12.1 MB / 0.521 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/0.5371, allocations: 39.66 kB / 0.5211 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/0.5386, allocations: 147.8 kB / 0.5212 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00492/0.5435, allocations: 2.832 MB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/0.5678, allocations: 11.39 MB / 0.5351 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06998/0.6378, allocations: 41.19 MB / 0.5753 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.6517, allocations: 6.077 MB / 0.5813 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005221/0.657, allocations: 3.006 MB / 0.5842 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.6593, allocations: 1.895 MB / 0.5861 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.184e-05/0.6594, allocations: 48.56 kB / 0.5861 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 1.145e-05/0.6594, allocations: 4 kB / 0.5861 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05606/0.7155, allocations: 20.13 MB / 0.6058 GB, free: 10.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7157, allocations: 77.41 kB / 0.6058 GB, free: 10.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007994/0.7237, allocations: 3.052 MB / 0.6088 GB, free: 7.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000872/0.7246, allocations: 65.7 kB / 0.6089 GB, free: 7.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003473/0.7281, allocations: 3.004 MB / 0.6118 GB, free: 4.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.7299, allocations: 1.025 MB / 0.6128 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/0.7319, allocations: 0.5152 MB / 0.6133 GB, free: 2.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7321, allocations: 305.1 kB / 0.6136 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006369/0.7384, allocations: 2.862 MB / 0.6164 GB, free: 15.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/0.7487, allocations: 6.067 MB / 0.6223 GB, free: 7.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.264/1.013, allocations: 9.726 MB / 0.6318 GB, free: 141.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.542e-05/1.013, allocations: 31.91 kB / 0.6319 GB, free: 141.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01821/1.031, allocations: 10.08 MB / 0.6417 GB, free: 139.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/1.031, allocations: 50.94 kB / 0.6418 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.031, allocations: 118.5 kB / 0.6419 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/1.035, allocations: 1.361 MB / 0.6432 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/1.04, allocations: 1.383 MB / 0.6445 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007989/1.048, allocations: 7.298 MB / 0.6517 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/1.052, allocations: 374.6 kB / 0.652 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.054, allocations: 346.7 kB / 0.6524 GB, free: 135.8 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.006559/1.06, allocations: 2.299 MB / 0.6546 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.062, allocations: 304.5 kB / 0.6549 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.075, allocations: 6.631 MB / 0.6614 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.77e-05/1.075, allocations: 45.11 kB / 0.6614 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/1.075, allocations: 7.938 kB / 0.6614 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/1.075, allocations: 19.14 kB / 0.6614 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/1.109, allocations: 14.02 MB / 0.6751 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/1.109, allocations: 7.875 kB / 0.6751 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.111, allocations: 452 kB / 0.6756 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/1.114, allocations: 1.215 MB / 0.6768 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005395/1.115, allocations: 55.22 kB / 0.6768 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/1.122, allocations: 6.523 MB / 0.6832 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.122, allocations: 11.78 kB / 0.6832 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.137, allocations: 9.858 MB / 0.6928 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.14, allocations: 0.8224 MB / 0.6936 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.141, allocations: 44 kB / 0.6937 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.143, allocations: 191.4 kB / 0.6938 GB, free: 117.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/1.144, allocations: 168.8 kB / 0.694 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003814/1.145, allocations: 77.53 kB / 0.6941 GB, free: 117.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004548/1.149, allocations: 1.893 MB / 0.6959 GB, free: 115.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.383e-06/1.149, allocations: 0 / 0.6959 GB, free: 115.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007945/1.157, allocations: 1.14 MB / 0.697 GB, free: 114.4 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.001148/1.158, allocations: 191.6 kB / 0.6972 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.17, allocations: 6.967 MB / 0.704 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.171, allocations: 0 / 0.704 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004277/1.175, allocations: 2.849 MB / 0.7068 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00659/1.181, allocations: 393.5 kB / 0.7072 GB, free: 104 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/1.205, allocations: 13.93 MB / 0.7208 GB, free: 89.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/1.212, allocations: 3.587 MB / 0.7243 GB, free: 86.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005877/1.218, allocations: 2.204 MB / 0.7264 GB, free: 84.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.219, allocations: 247.4 kB / 0.7267 GB, free: 83.89 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/1.219, allocations: 0 / 0.7267 GB, free: 83.89 MB / 494.1 MB Notification: Performance of Templates: time 0.06653/1.286, allocations: 39.65 MB / 0.7654 GB, free: 44.34 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: