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.001164/0.001164, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001408/0.001408, allocations: 172.7 kB / 15.95 MB, free: 208 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.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.4059/0.4059, allocations: 39.99 MB / 310.4 MB, free: 9.992 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.0005185/0.0005186, allocations: 16 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1257, allocations: 57.95 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2595/0.3852, allocations: 38.08 MB / 474.9 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.4028, allocations: 8.447 MB / 483.3 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006449/0.4093, allocations: 169 kB / 483.5 MB, free: 26.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.4137, allocations: 1.879 MB / 485.4 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.4271, allocations: 5.575 MB / 490.9 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.4294, allocations: 476.3 kB / 491.4 MB, free: 23.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006184/0.4356, allocations: 4.448 MB / 495.8 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004642/0.4403, allocations: 3.196 MB / 499 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.4426, allocations: 1.196 MB / 0.4885 GB, free: 19.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.446, allocations: 1.904 MB / 0.4904 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.4467, allocations: 157.9 kB / 0.4905 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.4489, allocations: 0.7727 MB / 0.4913 GB, free: 19.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001952/0.4509, allocations: 1.69 MB / 0.4929 GB, free: 18.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.452, allocations: 0.8818 MB / 0.4938 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.4596, allocations: 5.616 MB / 0.4993 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4597, allocations: 0 / 0.4993 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4597, allocations: 0 / 0.4993 GB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002612/0.4599, allocations: 1 kB / 0.4993 GB, free: 15.86 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.009427/0.4694, allocations: 4.067 MB / 0.5032 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4694, allocations: 9.188 kB / 0.5033 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4801, allocations: 3.231 MB / 0.5064 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007107/0.4873, allocations: 2.208 MB / 0.5086 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.4877, allocations: 238.1 kB / 0.5088 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.4898, allocations: 305.7 kB / 0.5091 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.5141, allocations: 12.08 MB / 0.5209 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.5143, allocations: 31.75 kB / 0.5209 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000628/0.515, allocations: 147.8 kB / 0.5211 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004568/0.5196, allocations: 2.839 MB / 0.5238 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/0.5441, allocations: 11.34 MB / 0.5349 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06868/0.6128, allocations: 41.17 MB / 0.5751 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.625, allocations: 6.061 MB / 0.581 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/0.6294, allocations: 2.998 MB / 0.584 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.6312, allocations: 1.884 MB / 0.5858 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.6312, allocations: 60.44 kB / 0.5859 GB, free: 13.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 5.771e-06/0.6312, allocations: 0 / 0.5859 GB, free: 13.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05867/0.6899, allocations: 20.09 MB / 0.6055 GB, free: 8.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.69, allocations: 89.33 kB / 0.6056 GB, free: 8.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006876/0.6969, allocations: 3.028 MB / 0.6085 GB, free: 5.793 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007792/0.6978, allocations: 61.7 kB / 0.6086 GB, free: 5.727 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00292/0.7007, allocations: 3.008 MB / 0.6115 GB, free: 2.676 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/0.7029, allocations: 1.029 MB / 0.6125 GB, free: 1.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.704, allocations: 116 kB / 0.6126 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007882/0.7048, allocations: 0.5584 MB / 0.6132 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006065/0.7109, allocations: 2.834 MB / 0.6159 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/0.7214, allocations: 6.051 MB / 0.6219 GB, free: 6.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008563/0.73, allocations: 4.115 MB / 0.6259 GB, free: 2.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001619/0.7302, allocations: 32 kB / 0.6259 GB, free: 2.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.2986/1.029, allocations: 10.03 MB / 0.6357 GB, free: 140.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/1.029, allocations: 57.91 kB / 0.6358 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.029, allocations: 108 kB / 0.6359 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/1.032, allocations: 1.37 MB / 0.6372 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/1.038, allocations: 1.384 MB / 0.6385 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/1.046, allocations: 7.477 MB / 0.6458 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/1.051, allocations: 366.4 kB / 0.6462 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/1.051, allocations: 352.3 kB / 0.6465 GB, free: 137.1 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 (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.004913/1.056, allocations: 2.295 MB / 0.6488 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/1.057, allocations: 305.2 kB / 0.6491 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.067, allocations: 6.618 MB / 0.6555 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.379e-05/1.067, allocations: 46.56 kB / 0.6556 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.067, allocations: 4.406 kB / 0.6556 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.067, allocations: 18.33 kB / 0.6556 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.096, allocations: 13.99 MB / 0.6693 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.096, allocations: 10.75 kB / 0.6693 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.098, allocations: 453.7 kB / 0.6697 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/1.101, allocations: 1.218 MB / 0.6709 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.102, allocations: 54.56 kB / 0.6709 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007628/1.109, allocations: 6.515 MB / 0.6773 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.109, allocations: 8.938 kB / 0.6773 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.123, allocations: 9.832 MB / 0.6869 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.125, allocations: 0.818 MB / 0.6877 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/1.126, allocations: 47.7 kB / 0.6878 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.127, allocations: 207 kB / 0.688 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/1.128, allocations: 151.5 kB / 0.6881 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.128, allocations: 75.7 kB / 0.6882 GB, free: 119.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003481/1.132, allocations: 1.857 MB / 0.69 GB, free: 117.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.82e-07/1.132, allocations: 4 kB / 0.69 GB, free: 117.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006259/1.138, allocations: 1.142 MB / 0.6911 GB, free: 116.8 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.0005949/1.138, allocations: 192 kB / 0.6913 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.149, allocations: 6.878 MB / 0.698 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.149, allocations: 0 / 0.698 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003872/1.153, allocations: 2.852 MB / 0.7008 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.155, allocations: 398.8 kB / 0.7012 GB, free: 107.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.179, allocations: 13.45 MB / 0.7143 GB, free: 94.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/1.182, allocations: 3.587 MB / 0.7178 GB, free: 90.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004962/1.187, allocations: 2.2 MB / 0.72 GB, free: 88.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009722/1.188, allocations: 247.4 kB / 0.7202 GB, free: 87.99 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/1.188, allocations: 0 / 0.7202 GB, free: 87.99 MB / 494.1 MB Notification: Performance of Templates: time 0.06445/1.253, allocations: 38.76 MB / 0.758 GB, free: 49.33 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: