Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001186/0.001186, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.489/1.489, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 111.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1849/0.1849, allocations: 37.98 MB / 295.1 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.959e-05, allocations: 2.438 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5186, allocations: 91.91 MB / 490.6 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5189, allocations: 74.95 kB / 490.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.334/0.8528, allocations: 139 MB / 0.6149 GB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8529, allocations: 0 / 0.6149 GB, free: 5.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007184/0.8536, allocations: 156 kB / 0.6151 GB, free: 5.141 MB / 426.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.5037/1.357, allocations: 8.657 MB / 0.6235 GB, free: 58.47 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.357, allocations: 10.64 kB / 0.6235 GB, free: 58.47 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/1.391, allocations: 7.699 MB / 0.6311 GB, free: 57.96 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02771/1.418, allocations: 10.91 MB / 0.6417 GB, free: 57.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/1.419, allocations: 247.4 kB / 0.6419 GB, free: 57.5 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/1.422, allocations: 450.2 kB / 0.6424 GB, free: 57.49 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01802/1.44, allocations: 10.05 MB / 0.6522 GB, free: 57.46 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/1.464, allocations: 15.13 MB / 0.667 GB, free: 53.39 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/1.464, allocations: 105 kB / 0.6671 GB, free: 53.38 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007854/1.465, allocations: 45.97 kB / 0.6671 GB, free: 53.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/1.467, allocations: 1.604 MB / 0.6687 GB, free: 53.37 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07606/1.543, allocations: 77.6 MB / 0.7444 GB, free: 32.64 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/1.548, allocations: 4.339 MB / 0.7487 GB, free: 30.43 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/1.552, allocations: 3.041 MB / 0.7517 GB, free: 29.07 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/1.552, allocations: 50.67 kB / 0.7517 GB, free: 29.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/1.552, allocations: 58.06 kB / 0.7518 GB, free: 29.01 MB / 458.8 MB Notification: Performance of pre-optimization done (n=265): time 5.811e-06/1.552, allocations: 2.875 kB / 0.7518 GB, free: 29.01 MB / 458.8 MB Notification: Performance of matching and sorting (n=293): time 0.04976/1.602, allocations: 21.61 MB / 0.7729 GB, free: 13.29 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/1.602, allocations: 231.6 kB / 0.7731 GB, free: 13.01 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.613, allocations: 5.148 MB / 0.7781 GB, free: 8.492 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007977/1.614, allocations: 29.42 kB / 0.7781 GB, free: 8.461 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004532/1.619, allocations: 5.289 MB / 0.7833 GB, free: 3.656 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.621, allocations: 1.18 MB / 0.7845 GB, free: 2.602 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.622, allocations: 0 / 0.7845 GB, free: 2.602 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001103/1.623, allocations: 0.726 MB / 0.7852 GB, free: 1.988 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01328/1.637, allocations: 4.183 MB / 0.7892 GB, free: 0 / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2446/1.881, allocations: 9.545 MB / 0.7986 GB, free: 79.68 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009933/1.891, allocations: 5.777 MB / 0.8042 GB, free: 79.62 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003105/1.892, allocations: 64.27 kB / 0.8043 GB, free: 79.62 MB / 458.8 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0301/1.922, allocations: 14.01 MB / 0.818 GB, free: 79.13 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.922, allocations: 99.67 kB / 0.818 GB, free: 79.13 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01177/1.934, allocations: 6.554 MB / 0.8244 GB, free: 78.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008331/1.942, allocations: 2.787 MB / 0.8272 GB, free: 78.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.95, allocations: 2.406 MB / 0.8295 GB, free: 78.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008619/1.959, allocations: 10.89 MB / 0.8402 GB, free: 71.18 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009599/1.969, allocations: 0.6759 MB / 0.8408 GB, free: 71.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/1.971, allocations: 0.6091 MB / 0.8414 GB, free: 71.17 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 (1234): * Single equations (assignments): 1209 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.002208/1.973, allocations: 0.6427 MB / 0.842 GB, free: 70.86 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.974, allocations: 0.5551 MB / 0.8426 GB, free: 70.86 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.988, allocations: 7.313 MB / 0.8497 GB, free: 70.52 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0127/2.001, allocations: 6.552 MB / 0.8561 GB, free: 70.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/2.001, allocations: 10.44 kB / 0.8561 GB, free: 70.23 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/2.001, allocations: 15.89 kB / 0.8561 GB, free: 70.23 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/2.021, allocations: 10.99 MB / 0.8669 GB, free: 68.07 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/2.021, allocations: 6.859 kB / 0.8669 GB, free: 68.07 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/2.024, allocations: 0.6095 MB / 0.8675 GB, free: 68.03 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008507/2.033, allocations: 3.065 MB / 0.8705 GB, free: 67.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/2.034, allocations: 63.06 kB / 0.8705 GB, free: 67.38 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.045, allocations: 13.76 MB / 0.884 GB, free: 58.26 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002892/2.048, allocations: 5.784 MB / 0.8896 GB, free: 52.76 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/2.065, allocations: 11.51 MB / 0.9009 GB, free: 48.66 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/2.068, allocations: 1.097 MB / 0.9019 GB, free: 48.05 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.069, allocations: 34.06 kB / 0.902 GB, free: 48.05 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/2.072, allocations: 340.2 kB / 0.9023 GB, free: 48.04 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/2.072, allocations: 214.1 kB / 0.9025 GB, free: 48.02 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/2.073, allocations: 94.58 kB / 0.9026 GB, free: 48 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005286/2.078, allocations: 3.448 MB / 0.906 GB, free: 45.85 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.9e-07/2.078, allocations: 4 kB / 0.906 GB, free: 45.84 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009685/2.088, allocations: 1.859 MB / 0.9078 GB, free: 43.99 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (239): * Single equations (assignments): 222 * 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.0006802/2.088, allocations: 189.5 kB / 0.908 GB, free: 43.82 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01603/2.104, allocations: 10.27 MB / 0.918 GB, free: 34.55 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/2.104, allocations: 0 / 0.918 GB, free: 34.55 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008258/2.113, allocations: 5.221 MB / 0.9231 GB, free: 29.84 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/2.117, allocations: 0.7043 MB / 0.9238 GB, free: 29.26 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/2.146, allocations: 16.32 MB / 0.9397 GB, free: 15.03 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00827/2.154, allocations: 5.404 MB / 0.945 GB, free: 11.08 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008751/2.163, allocations: 3 MB / 0.9479 GB, free: 9.176 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/2.164, allocations: 413 kB / 0.9483 GB, free: 8.812 MB / 458.8 MB Notification: Performance of SimCode: time 8.51e-07/2.164, allocations: 0 / 0.9483 GB, free: 8.812 MB / 458.8 MB Notification: Performance of Templates: time 0.3542/2.519, allocations: 64.52 MB / 1.011 GB, free: 66.34 MB / 458.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)