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.001146/0.001146, allocations: 100.2 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.001347/0.001347, 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.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.406/0.406, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0007657/0.0007659, allocations: 24 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1398, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2873/0.4271, allocations: 35.99 MB / 469.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4477, allocations: 8.78 MB / 478.7 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009142/0.4569, allocations: 172.2 kB / 478.9 MB, free: 29.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006793/0.4637, allocations: 1.822 MB / 480.7 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02232/0.486, allocations: 5.346 MB / 486 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.4893, allocations: 464.1 kB / 486.5 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.4953, allocations: 2.227 MB / 488.7 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005848/0.5012, allocations: 3.19 MB / 491.9 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.5041, allocations: 1.003 MB / 492.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.5071, allocations: 1.369 MB / 494.3 MB, free: 23.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.5082, allocations: 153.9 kB / 494.4 MB, free: 23.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.5114, allocations: 0.7521 MB / 495.2 MB, free: 23.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002894/0.5143, allocations: 1.569 MB / 496.8 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00221/0.5166, allocations: 0.8791 MB / 497.6 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.5277, allocations: 5.618 MB / 0.4915 GB, free: 20.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5277, allocations: 0 / 0.4915 GB, free: 20.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5277, allocations: 1.375 kB / 0.4915 GB, free: 20.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004623/0.5282, allocations: 4 kB / 0.4915 GB, free: 20.97 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.0175/0.5457, allocations: 4.19 MB / 0.4956 GB, free: 18.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5457, allocations: 9.438 kB / 0.4956 GB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.5619, allocations: 3.793 MB / 0.4993 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008566/0.5705, allocations: 2.407 MB / 0.5016 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.5709, allocations: 239.2 kB / 0.5018 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00301/0.5739, allocations: 313.9 kB / 0.5021 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/0.6117, allocations: 12.19 MB / 0.514 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003686/0.6122, allocations: 31.44 kB / 0.5141 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003048/0.6152, allocations: 148.7 kB / 0.5142 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005965/0.6212, allocations: 2.83 MB / 0.517 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02928/0.6505, allocations: 11.46 MB / 0.5282 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09/0.7406, allocations: 41.28 MB / 0.5685 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/0.7552, allocations: 6.155 MB / 0.5745 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.7576, allocations: 1.892 MB / 0.5763 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.319e-05/0.7578, allocations: 52.56 kB / 0.5764 GB, free: 7.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 9.829e-06/0.7578, allocations: 0 / 0.5764 GB, free: 7.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.06255/0.8203, allocations: 21.09 MB / 0.597 GB, free: 2.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.8205, allocations: 77.41 kB / 0.5971 GB, free: 2.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00832/0.8288, allocations: 3.158 MB / 0.6001 GB, free: 15.31 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/0.83, allocations: 61.7 kB / 0.6002 GB, free: 15.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/0.8332, allocations: 3.024 MB / 0.6031 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002599/0.8358, allocations: 1.017 MB / 0.6041 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.837, allocations: 116 kB / 0.6043 GB, free: 11.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007716/0.8378, allocations: 0.5623 MB / 0.6048 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005947/0.8438, allocations: 2.827 MB / 0.6076 GB, free: 7.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008714/0.8525, allocations: 6.012 MB / 0.6134 GB, free: 52 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007887/0.8604, allocations: 4.107 MB / 0.6174 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.8606, allocations: 32 kB / 0.6175 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02493/0.8855, allocations: 10.02 MB / 0.6273 GB, free: 1.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.8857, allocations: 52 kB / 0.6273 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002398/0.886, allocations: 116.1 kB / 0.6274 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/0.8901, allocations: 1.37 MB / 0.6288 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3121/1.202, allocations: 1.374 MB / 0.6301 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/1.212, allocations: 7.676 MB / 0.6376 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/1.218, allocations: 369.1 kB / 0.6379 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000744/1.218, allocations: 345.7 kB / 0.6383 GB, free: 141.7 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.005454/1.224, allocations: 2.305 MB / 0.6405 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/1.224, allocations: 313.2 kB / 0.6408 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.236, allocations: 6.615 MB / 0.6473 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/1.236, allocations: 45.45 kB / 0.6473 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.236, allocations: 10.31 kB / 0.6473 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/1.236, allocations: 13.36 kB / 0.6473 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/1.265, allocations: 14.01 MB / 0.661 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/1.265, allocations: 5.781 kB / 0.661 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.267, allocations: 452.5 kB / 0.6615 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003495/1.271, allocations: 1.213 MB / 0.6626 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.271, allocations: 48.19 kB / 0.6627 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009389/1.28, allocations: 6.722 MB / 0.6693 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.28, allocations: 12.31 kB / 0.6693 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.297, allocations: 10.45 MB / 0.6795 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/1.299, allocations: 0.8398 MB / 0.6803 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/1.3, allocations: 46.8 kB / 0.6803 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.301, allocations: 194.7 kB / 0.6805 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004604/1.302, allocations: 159.1 kB / 0.6807 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.302, allocations: 78.39 kB / 0.6808 GB, free: 125.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003141/1.305, allocations: 1.955 MB / 0.6827 GB, free: 124.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.305, allocations: 5.562 kB / 0.6827 GB, free: 124.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005379/1.311, allocations: 1.146 MB / 0.6838 GB, free: 124.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 (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.0005762/1.311, allocations: 217.7 kB / 0.684 GB, free: 124.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009178/1.32, allocations: 6.867 MB / 0.6907 GB, free: 120.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.32, allocations: 0 / 0.6907 GB, free: 120.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.324, allocations: 2.846 MB / 0.6935 GB, free: 117.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/1.326, allocations: 363.5 kB / 0.6938 GB, free: 117.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.348, allocations: 13.41 MB / 0.7069 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003649/1.352, allocations: 3.688 MB / 0.7105 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005127/1.357, allocations: 2.204 MB / 0.7127 GB, free: 98.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/1.358, allocations: 247.1 kB / 0.7129 GB, free: 98.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.763e-06/1.358, allocations: 0 / 0.7129 GB, free: 98.28 MB / 494.1 MB Notification: Performance of Templates: time 0.07402/1.432, allocations: 39.34 MB / 0.7513 GB, free: 59.02 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: