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.001239/0.001239, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001385/0.001385, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.2984/0.2984, allocations: 39.99 MB / 310.4 MB, free: 9.953 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.0005671/0.0005672, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2478/0.3685, allocations: 35.99 MB / 472.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.3907, allocations: 8.774 MB / 481.5 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008603/0.3993, allocations: 171.8 kB / 481.7 MB, free: 27.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005779/0.4052, allocations: 1.82 MB / 483.5 MB, free: 26.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.4216, allocations: 5.346 MB / 488.9 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.424, allocations: 460.8 kB / 489.3 MB, free: 24.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004201/0.4282, allocations: 2.226 MB / 491.6 MB, free: 23.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/0.4323, allocations: 3.187 MB / 494.7 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.4337, allocations: 1.009 MB / 495.8 MB, free: 21.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.4352, allocations: 1.366 MB / 497.1 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.4356, allocations: 155.2 kB / 497.3 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.4375, allocations: 0.7502 MB / 498 MB, free: 20.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.4395, allocations: 1.566 MB / 499.6 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.4411, allocations: 0.8779 MB / 0.4887 GB, free: 19.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4513, allocations: 5.624 MB / 0.4942 GB, free: 18.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4513, allocations: 4 kB / 0.4942 GB, free: 18.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4513, allocations: 0 / 0.4942 GB, free: 18.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003438/0.4517, allocations: 0 / 0.4942 GB, free: 18.64 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.01755/0.4692, allocations: 4.186 MB / 0.4983 GB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4693, allocations: 12.19 kB / 0.4983 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.4833, allocations: 3.791 MB / 0.502 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007661/0.491, allocations: 2.406 MB / 0.5044 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.4914, allocations: 233.4 kB / 0.5046 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/0.4933, allocations: 316.7 kB / 0.5049 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.5167, allocations: 12.18 MB / 0.5168 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.5168, allocations: 35.66 kB / 0.5168 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005344/0.5174, allocations: 143.8 kB / 0.517 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004249/0.5216, allocations: 2.839 MB / 0.5197 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.5485, allocations: 11.46 MB / 0.5309 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06842/0.617, allocations: 41.28 MB / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.6294, allocations: 6.155 MB / 0.5773 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.6314, allocations: 1.891 MB / 0.5791 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.6314, allocations: 60.56 kB / 0.5792 GB, free: 3.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 7.965e-06/0.6314, allocations: 112 / 0.5792 GB, free: 3.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.05394/0.6854, allocations: 21.08 MB / 0.5997 GB, free: 14.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.6855, allocations: 81.39 kB / 0.5998 GB, free: 14.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005854/0.6914, allocations: 3.158 MB / 0.6029 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/0.6926, allocations: 61.7 kB / 0.603 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/0.6955, allocations: 3.008 MB / 0.6059 GB, free: 8.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001968/0.6974, allocations: 1.025 MB / 0.6069 GB, free: 7.074 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.6979, allocations: 116 kB / 0.607 GB, free: 6.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000444/0.6983, allocations: 0.5623 MB / 0.6076 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/0.7028, allocations: 2.827 MB / 0.6103 GB, free: 3.559 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007641/0.7105, allocations: 6.016 MB / 0.6162 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/0.7181, allocations: 4.099 MB / 0.6202 GB, free: 7.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.155e-05/0.7183, allocations: 32 kB / 0.6202 GB, free: 7.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.2731/0.9914, allocations: 10.01 MB / 0.63 GB, free: 137.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.9915, allocations: 58.06 kB / 0.6301 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.9916, allocations: 113.3 kB / 0.6302 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/0.9952, allocations: 1.37 MB / 0.6315 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/1, allocations: 1.38 MB / 0.6329 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009362/1.01, allocations: 7.68 MB / 0.6404 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/1.016, allocations: 369.9 kB / 0.6407 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.017, allocations: 345.6 kB / 0.641 GB, free: 135.9 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 (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006056/1.023, allocations: 2.306 MB / 0.6433 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000664/1.024, allocations: 305.8 kB / 0.6436 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.034, allocations: 6.614 MB / 0.65 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/1.034, allocations: 51.03 kB / 0.6501 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.034, allocations: 2.844 kB / 0.6501 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/1.034, allocations: 14.39 kB / 0.6501 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02766/1.062, allocations: 14.01 MB / 0.6638 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.062, allocations: 9.875 kB / 0.6638 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.064, allocations: 455.1 kB / 0.6642 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/1.068, allocations: 1.214 MB / 0.6654 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005665/1.068, allocations: 48.75 kB / 0.6655 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008787/1.077, allocations: 6.725 MB / 0.672 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/1.077, allocations: 11.78 kB / 0.672 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.092, allocations: 10.45 MB / 0.6822 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.094, allocations: 0.8241 MB / 0.6831 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/1.095, allocations: 62.39 kB / 0.6831 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.096, allocations: 198.9 kB / 0.6833 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/1.097, allocations: 161.3 kB / 0.6835 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.097, allocations: 74.86 kB / 0.6835 GB, free: 119.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003086/1.1, allocations: 1.948 MB / 0.6854 GB, free: 118.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.1, allocations: 3.75 kB / 0.6854 GB, free: 118.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005584/1.106, allocations: 1.154 MB / 0.6866 GB, free: 118.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006406/1.106, allocations: 209.4 kB / 0.6868 GB, free: 118.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009655/1.116, allocations: 6.873 MB / 0.6935 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.116, allocations: 0 / 0.6935 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003748/1.12, allocations: 2.849 MB / 0.6963 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.122, allocations: 364.6 kB / 0.6966 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.141, allocations: 13.41 MB / 0.7097 GB, free: 96.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003275/1.144, allocations: 3.68 MB / 0.7133 GB, free: 92.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004553/1.149, allocations: 2.208 MB / 0.7154 GB, free: 90.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/1.149, allocations: 243.4 kB / 0.7157 GB, free: 90.19 MB / 494.1 MB Notification: Performance of SimCode: time 1.674e-06/1.149, allocations: 0 / 0.7157 GB, free: 90.19 MB / 494.1 MB Notification: Performance of Templates: time 0.05757/1.207, allocations: 39.34 MB / 0.7541 GB, free: 50.95 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: