Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005466/0.005466, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3742/0.3742, allocations: 38 MB / 307.9 MB, free: 10.24 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.001557/0.001557, allocations: 76.47 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3947, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01536/0.4101, allocations: 12.2 MB / 0.4899 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.4219, allocations: 4.019 MB / 0.4938 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.4248, allocations: 60.94 kB / 0.4939 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.4281, allocations: 1.196 MB / 0.4951 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.4338, allocations: 1.831 MB / 0.4969 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.4353, allocations: 491.1 kB / 0.4973 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006888/0.4422, allocations: 4.125 MB / 0.5014 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.4451, allocations: 1.859 MB / 0.5032 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.4476, allocations: 1.225 MB / 0.5044 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.4511, allocations: 1.764 MB / 0.5061 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007706/0.4519, allocations: 233.3 kB / 0.5063 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.455, allocations: 1.105 MB / 0.5074 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.4571, allocations: 1.688 MB / 0.509 GB, free: 1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00285/0.4599, allocations: 1.954 MB / 0.5109 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.4742, allocations: 6.521 MB / 0.5173 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4743, allocations: 0 / 0.5173 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4743, allocations: 0 / 0.5173 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003967/0.4747, allocations: 0 / 0.5173 GB, free: 11.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01759/0.4923, allocations: 4.439 MB / 0.5216 GB, free: 6.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.676e-05/0.4924, allocations: 15.89 kB / 0.5217 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5048, allocations: 3.196 MB / 0.5248 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/0.5106, allocations: 2.186 MB / 0.5269 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.5109, allocations: 189 kB / 0.5271 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.513, allocations: 339.7 kB / 0.5274 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.5342, allocations: 10.78 MB / 0.538 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.5344, allocations: 47.61 kB / 0.538 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004406/0.5349, allocations: 115.8 kB / 0.5381 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00455/0.5394, allocations: 2.561 MB / 0.5406 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.5671, allocations: 10.28 MB / 0.5507 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05754/0.6247, allocations: 35.74 MB / 0.5856 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.6372, allocations: 4.438 MB / 0.5899 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005714/0.643, allocations: 2.205 MB / 0.592 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/0.6456, allocations: 1.315 MB / 0.5933 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.411e-05/0.6457, allocations: 52.56 kB / 0.5934 GB, free: 11.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=245): time 1.019e-05/0.6457, allocations: 0 / 0.5934 GB, free: 11.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=261): time 0.08256/0.7283, allocations: 17.12 MB / 0.6101 GB, free: 10.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001901/0.7302, allocations: 1.618 MB / 0.6117 GB, free: 8.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007463/0.7377, allocations: 2.795 MB / 0.6144 GB, free: 5.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007195/0.7385, allocations: 57.7 kB / 0.6145 GB, free: 5.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.741, allocations: 2.847 MB / 0.6172 GB, free: 2.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/0.7429, allocations: 1.004 MB / 0.6182 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003655/0.7466, allocations: 1.156 MB / 0.6193 GB, free: 336 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.7467, allocations: 309.1 kB / 0.6196 GB, free: 24 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/0.7513, allocations: 2.475 MB / 0.6221 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/0.7577, allocations: 5.537 MB / 0.6275 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.321/1.079, allocations: 8.69 MB / 0.636 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/1.079, allocations: 30.44 kB / 0.636 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03223/1.111, allocations: 9.892 MB / 0.6456 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.111, allocations: 49.94 kB / 0.6457 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01519/1.127, allocations: 4.912 MB / 0.6505 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/1.139, allocations: 2.377 MB / 0.6528 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/1.144, allocations: 1.311 MB / 0.6541 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00973/1.154, allocations: 6.361 MB / 0.6603 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00561/1.16, allocations: 405.1 kB / 0.6607 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.162, allocations: 326.2 kB / 0.661 GB, free: 113 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006405/1.168, allocations: 2.105 MB / 0.6631 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/1.169, allocations: 301.2 kB / 0.6633 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.182, allocations: 5.437 MB / 0.6686 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008859/1.19, allocations: 4.698 MB / 0.6732 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/1.19, allocations: 6.188 kB / 0.6732 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.191, allocations: 11.95 kB / 0.6733 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.219, allocations: 14.71 MB / 0.6876 GB, free: 96.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.219, allocations: 8 kB / 0.6876 GB, free: 96.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.22, allocations: 427.3 kB / 0.688 GB, free: 95.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/1.224, allocations: 1.251 MB / 0.6893 GB, free: 94.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/1.225, allocations: 59.97 kB / 0.6893 GB, free: 94.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/1.229, allocations: 4.748 MB / 0.694 GB, free: 89.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007675/1.229, allocations: 1.558 MB / 0.6955 GB, free: 87.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.241, allocations: 8.177 MB / 0.7035 GB, free: 79.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.242, allocations: 351.1 kB / 0.7038 GB, free: 79.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009412/1.243, allocations: 55.27 kB / 0.7038 GB, free: 79.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.245, allocations: 203.7 kB / 0.704 GB, free: 79.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004781/1.246, allocations: 169.5 kB / 0.7042 GB, free: 78.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.246, allocations: 75.92 kB / 0.7043 GB, free: 78.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002804/1.249, allocations: 1.717 MB / 0.706 GB, free: 77.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.249, allocations: 0 / 0.706 GB, free: 77.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006522/1.255, allocations: 1.085 MB / 0.707 GB, free: 76.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008531/1.256, allocations: 203.4 kB / 0.7072 GB, free: 75.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.268, allocations: 6.646 MB / 0.7137 GB, free: 69.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.268, allocations: 0 / 0.7137 GB, free: 69.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00518/1.273, allocations: 2.916 MB / 0.7165 GB, free: 66.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/1.277, allocations: 381.6 kB / 0.7169 GB, free: 65.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.298, allocations: 10.78 MB / 0.7274 GB, free: 54.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/1.302, allocations: 3.301 MB / 0.7307 GB, free: 51.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004021/1.306, allocations: 2.111 MB / 0.7327 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/1.306, allocations: 231.4 kB / 0.7329 GB, free: 49.19 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/1.306, allocations: 0 / 0.7329 GB, free: 49.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.05535/1.362, allocations: 35.33 MB / 0.7674 GB, free: 13.91 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)