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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001437/0.001437, allocations: 188.7 kB / 16.13 MB, free: 6.652 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.41/1.41, allocations: 205.1 MB / 222 MB, free: 4.758 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.3223/0.3223, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.002272/0.002272, allocations: 64.75 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1442, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2795/0.4237, allocations: 42.1 MB / 473.1 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.4454, allocations: 8.928 MB / 482 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.4559, allocations: 171.3 kB / 482.2 MB, free: 26.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.4598, allocations: 1.933 MB / 484.1 MB, free: 25.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.4651, allocations: 1.802 MB / 485.9 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.4665, allocations: 0.5191 MB / 486.5 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.4729, allocations: 5.729 MB / 492.2 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.4769, allocations: 2.82 MB / 495 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.4795, allocations: 1.267 MB / 496.3 MB, free: 21.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/0.4831, allocations: 2.14 MB / 498.4 MB, free: 20.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.4842, allocations: 216.4 kB / 498.6 MB, free: 20.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.4876, allocations: 0.9794 MB / 499.6 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003765/0.4914, allocations: 1.817 MB / 0.4897 GB, free: 19.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.4955, allocations: 2.198 MB / 0.4918 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.5074, allocations: 6.976 MB / 0.4986 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.5075, allocations: 0 / 0.4986 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.5075, allocations: 1.031 kB / 0.4986 GB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000468/0.508, allocations: 4 kB / 0.4986 GB, free: 15.54 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.01887/0.5269, allocations: 4.916 MB / 0.5034 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.019e-05/0.527, allocations: 8.719 kB / 0.5035 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5389, allocations: 3.143 MB / 0.5065 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006714/0.5456, allocations: 2.24 MB / 0.5087 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.546, allocations: 237 kB / 0.5089 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.5486, allocations: 307.5 kB / 0.5092 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.5741, allocations: 12.1 MB / 0.521 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002674/0.5745, allocations: 35.66 kB / 0.5211 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.5767, allocations: 143.8 kB / 0.5212 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005813/0.5825, allocations: 2.835 MB / 0.524 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/0.6107, allocations: 11.37 MB / 0.5351 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07437/0.6851, allocations: 41.18 MB / 0.5753 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6973, allocations: 6.08 MB / 0.5812 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004241/0.7016, allocations: 3.019 MB / 0.5842 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.7032, allocations: 1.884 MB / 0.586 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.7033, allocations: 52.56 kB / 0.5861 GB, free: 12.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 5.02e-06/0.7033, allocations: 0 / 0.5861 GB, free: 12.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.0519/0.7552, allocations: 20.15 MB / 0.6058 GB, free: 7.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.7554, allocations: 81.39 kB / 0.6058 GB, free: 7.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006679/0.7621, allocations: 3.059 MB / 0.6088 GB, free: 4.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/0.7635, allocations: 65.61 kB / 0.6089 GB, free: 4.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00286/0.7663, allocations: 3.008 MB / 0.6118 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/0.7683, allocations: 1.017 MB / 0.6128 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/0.7708, allocations: 1.203 MB / 0.614 GB, free: 15.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7709, allocations: 309 kB / 0.6143 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/0.7757, allocations: 2.858 MB / 0.6171 GB, free: 12.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006576/0.7823, allocations: 6.074 MB / 0.623 GB, free: 4.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3073/1.09, allocations: 9.722 MB / 0.6325 GB, free: 142 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/1.09, allocations: 32.22 kB / 0.6325 GB, free: 142 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02101/1.111, allocations: 10.09 MB / 0.6424 GB, free: 138.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.111, allocations: 54.53 kB / 0.6424 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/1.111, allocations: 108.8 kB / 0.6425 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/1.115, allocations: 1.364 MB / 0.6439 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/1.121, allocations: 1.382 MB / 0.6452 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008502/1.129, allocations: 7.294 MB / 0.6524 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/1.135, allocations: 377 kB / 0.6527 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/1.137, allocations: 344.8 kB / 0.653 GB, free: 134.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.005506/1.142, allocations: 2.303 MB / 0.6553 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00086/1.143, allocations: 305.7 kB / 0.6556 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.156, allocations: 6.627 MB / 0.6621 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/1.156, allocations: 48.03 kB / 0.6621 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.156, allocations: 4.469 kB / 0.6621 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/1.156, allocations: 19.12 kB / 0.6621 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/1.185, allocations: 14.02 MB / 0.6758 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.185, allocations: 7.75 kB / 0.6758 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.187, allocations: 453.5 kB / 0.6763 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/1.19, allocations: 1.215 MB / 0.6774 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003281/1.191, allocations: 53.94 kB / 0.6775 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007407/1.198, allocations: 6.517 MB / 0.6839 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.198, allocations: 11.69 kB / 0.6839 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.212, allocations: 9.858 MB / 0.6935 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.215, allocations: 0.8192 MB / 0.6943 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/1.215, allocations: 55.44 kB / 0.6943 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.217, allocations: 191.3 kB / 0.6945 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/1.217, allocations: 167.7 kB / 0.6947 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.217, allocations: 68 kB / 0.6948 GB, free: 115.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004228/1.222, allocations: 1.897 MB / 0.6966 GB, free: 113.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.222, allocations: 0 / 0.6966 GB, free: 113.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007587/1.229, allocations: 1.131 MB / 0.6977 GB, free: 112.6 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.0008227/1.23, allocations: 193.4 kB / 0.6979 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01136/1.242, allocations: 6.967 MB / 0.7047 GB, free: 105.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/1.242, allocations: 1.594 kB / 0.7047 GB, free: 105.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004524/1.246, allocations: 2.852 MB / 0.7075 GB, free: 102.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.25, allocations: 393.6 kB / 0.7079 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.272, allocations: 13.85 MB / 0.7214 GB, free: 88.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/1.276, allocations: 3.582 MB / 0.7249 GB, free: 84.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004791/1.281, allocations: 2.2 MB / 0.727 GB, free: 82.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/1.282, allocations: 247.4 kB / 0.7273 GB, free: 82.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/1.282, allocations: 0 / 0.7273 GB, free: 82.24 MB / 494.1 MB Notification: Performance of Templates: time 0.08008/1.362, allocations: 40.51 MB / 0.7668 GB, free: 41.82 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)