Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001831/0.001831, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.678/1.678, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 112.2 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2223/0.2223, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.63e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5535, allocations: 99.28 MB / 0.5414 GB, free: 8.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5539, allocations: 73.72 kB / 0.5415 GB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6583/1.212, allocations: 142.6 MB / 0.6807 GB, free: 81.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.212, allocations: 0 / 0.6807 GB, free: 81.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006778/1.213, allocations: 153 kB / 0.6809 GB, free: 81.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.04425/1.257, allocations: 8.678 MB / 0.6894 GB, free: 79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.257, allocations: 15.97 kB / 0.6894 GB, free: 79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03141/1.289, allocations: 7.75 MB / 0.6969 GB, free: 78.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/1.317, allocations: 10.94 MB / 0.7076 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005961/1.318, allocations: 0.5636 MB / 0.7082 GB, free: 77.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/1.322, allocations: 0.7562 MB / 0.7089 GB, free: 77.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03932/1.361, allocations: 17.45 MB / 0.726 GB, free: 73.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003898/1.362, allocations: 103.6 kB / 0.7261 GB, free: 73.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.363, allocations: 367.1 kB / 0.7264 GB, free: 73.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/1.365, allocations: 1.6 MB / 0.728 GB, free: 73.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03209/1.397, allocations: 14.03 MB / 0.7417 GB, free: 72.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09143/1.489, allocations: 79.04 MB / 0.8189 GB, free: 5.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/1.509, allocations: 6.949 MB / 0.8256 GB, free: 0 / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005607/1.514, allocations: 3.229 MB / 0.8288 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03366/1.548, allocations: 14.7 MB / 0.8432 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/1.548, allocations: 64.56 kB / 0.8432 GB, free: 256 kB / 490.7 MB Notification: Performance of pre-optimization done (n=259): time 1.069e-05/1.548, allocations: 4 kB / 0.8432 GB, free: 252 kB / 490.7 MB Notification: Performance of matching and sorting (n=287): time 0.4059/1.954, allocations: 23.31 MB / 0.866 GB, free: 89.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003482/1.958, allocations: 6.253 MB / 0.8721 GB, free: 83.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.968, allocations: 5.759 MB / 0.8777 GB, free: 83.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00108/1.969, allocations: 71.12 kB / 0.8778 GB, free: 83.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004764/1.974, allocations: 5.271 MB / 0.8829 GB, free: 80.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002473/1.976, allocations: 1.187 MB / 0.8841 GB, free: 80.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/1.978, allocations: 194.9 kB / 0.8843 GB, free: 80.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007852/1.979, allocations: 0.7131 MB / 0.885 GB, free: 79.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007443/1.986, allocations: 3.824 MB / 0.8887 GB, free: 79.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.998, allocations: 9.606 MB / 0.8981 GB, free: 72.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/2.008, allocations: 5.924 MB / 0.9039 GB, free: 72.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/2.008, allocations: 57.91 kB / 0.9039 GB, free: 72.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03793/2.046, allocations: 16.15 MB / 0.9197 GB, free: 69.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.046, allocations: 96.27 kB / 0.9198 GB, free: 69.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02446/2.071, allocations: 7.644 MB / 0.9272 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/2.087, allocations: 3.902 MB / 0.9311 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008325/2.095, allocations: 2.307 MB / 0.9333 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/2.108, allocations: 13.57 MB / 0.9466 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.118, allocations: 0.8577 MB / 0.9474 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/2.12, allocations: 0.591 MB / 0.948 GB, free: 56.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1170 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001875/2.122, allocations: 0.8653 MB / 0.9488 GB, free: 56.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.124, allocations: 0.5826 MB / 0.9494 GB, free: 55.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/2.138, allocations: 7.538 MB / 0.9567 GB, free: 50.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01193/2.15, allocations: 6.695 MB / 0.9633 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.261e-05/2.15, allocations: 8 kB / 0.9633 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/2.15, allocations: 21.59 kB / 0.9633 GB, free: 44.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/2.163, allocations: 7.421 MB / 0.9706 GB, free: 39.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/2.163, allocations: 0 / 0.9706 GB, free: 39.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/2.166, allocations: 0.6003 MB / 0.9711 GB, free: 38.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008753/2.175, allocations: 3.132 MB / 0.9742 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006366/2.176, allocations: 92.47 kB / 0.9743 GB, free: 36.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/2.187, allocations: 13.99 MB / 0.988 GB, free: 23.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002634/2.19, allocations: 6.035 MB / 0.9939 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/2.207, allocations: 11.65 MB / 1.005 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/2.21, allocations: 0.6366 MB / 1.006 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/2.211, allocations: 79.45 kB / 1.006 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/2.215, allocations: 381.7 kB / 1.006 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005799/2.216, allocations: 213.4 kB / 1.006 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/2.216, allocations: 92.44 kB / 1.007 GB, free: 6.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005565/2.221, allocations: 4 MB / 1.01 GB, free: 2.617 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.221, allocations: 0 / 1.01 GB, free: 2.617 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008661/2.23, allocations: 2.031 MB / 1.012 GB, free: 0.5938 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/2.231, allocations: 235 kB / 1.013 GB, free: 380 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0225/2.253, allocations: 11.31 MB / 1.024 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.253, allocations: 4 kB / 1.024 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.2983/2.551, allocations: 5.28 MB / 1.029 GB, free: 91.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007951/2.559, allocations: 0.8206 MB / 1.03 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0472/2.607, allocations: 16.46 MB / 1.046 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/2.619, allocations: 5.414 MB / 1.051 GB, free: 86.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0139/2.633, allocations: 2.918 MB / 1.054 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/2.636, allocations: 425.7 kB / 1.054 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.873e-06/2.636, allocations: 0 / 1.054 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.1497/2.785, allocations: 74.82 MB / 1.127 GB, free: 64.96 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)