Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007687/0.007687, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.478/1.478, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001678/0.001678, allocations: 120.5 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1756/0.1756, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 11.59 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5079, allocations: 95.37 MB / 0.5434 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.5081, allocations: 77.08 kB / 0.5434 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2386/0.7467, allocations: 102.4 MB / 0.6434 GB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7468, allocations: 0 / 0.6434 GB, free: 80 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003645/0.7472, allocations: 88.03 kB / 0.6435 GB, free: 15.99 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.03519/0.7824, allocations: 6.89 MB / 0.6502 GB, free: 9.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7824, allocations: 8.031 kB / 0.6502 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03028/0.8127, allocations: 7.349 MB / 0.6574 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04554/0.8583, allocations: 18.29 MB / 0.6753 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.8588, allocations: 316 kB / 0.6756 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/0.8614, allocations: 439.6 kB / 0.676 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.8831, allocations: 10.6 MB / 0.6863 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002553/0.8834, allocations: 83.25 kB / 0.6864 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007775/0.8842, allocations: 207.9 kB / 0.6866 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.8857, allocations: 1.05 MB / 0.6876 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.9033, allocations: 9.253 MB / 0.6967 GB, free: 8.195 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/1.281, allocations: 51.21 MB / 0.7467 GB, free: 75.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008353/1.29, allocations: 3.853 MB / 0.7504 GB, free: 75.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/1.29, allocations: 28.58 kB / 0.7505 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/1.29, allocations: 69.22 kB / 0.7505 GB, free: 75.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=188): time 4.378e-06/1.29, allocations: 0 / 0.7505 GB, free: 75.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=216): time 0.04606/1.336, allocations: 22.69 MB / 0.7727 GB, free: 67.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003668/1.34, allocations: 6.232 MB / 0.7788 GB, free: 61.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007394/1.347, allocations: 4.522 MB / 0.7832 GB, free: 61.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008557/1.348, allocations: 63.09 kB / 0.7832 GB, free: 61.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002499/1.351, allocations: 3.509 MB / 0.7867 GB, free: 59.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.352, allocations: 0.9001 MB / 0.7876 GB, free: 59.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/1.352, allocations: 141.2 kB / 0.7877 GB, free: 59.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003231/1.353, allocations: 0.6134 MB / 0.7883 GB, free: 59.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/1.357, allocations: 3.122 MB / 0.7913 GB, free: 59.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/1.362, allocations: 7.432 MB / 0.7986 GB, free: 53.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.368, allocations: 4.664 MB / 0.8031 GB, free: 53.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.747e-05/1.368, allocations: 43.81 kB / 0.8032 GB, free: 53.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.04619/1.415, allocations: 15.79 MB / 0.8186 GB, free: 50.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002599/1.415, allocations: 70.12 kB / 0.8187 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03209/1.447, allocations: 8.999 MB / 0.8275 GB, free: 48.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03385/1.481, allocations: 6.744 MB / 0.8341 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/1.487, allocations: 1.691 MB / 0.8357 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/1.508, allocations: 16.54 MB / 0.8519 GB, free: 31.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.518, allocations: 0.7895 MB / 0.8526 GB, free: 30.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.52, allocations: 453.9 kB / 0.8531 GB, free: 30.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 845 * 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 {(3,100.0%),(4,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.006149/1.526, allocations: 2.334 MB / 0.8553 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.528, allocations: 454.1 kB / 0.8558 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.529, allocations: 0.6161 MB / 0.8564 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01338/1.543, allocations: 6.012 MB / 0.8622 GB, free: 22.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/1.543, allocations: 8 kB / 0.8623 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-05/1.543, allocations: 15.02 kB / 0.8623 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.567, allocations: 10.45 MB / 0.8725 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/1.567, allocations: 4 kB / 0.8725 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.569, allocations: 447.1 kB / 0.8729 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/1.581, allocations: 3.601 MB / 0.8764 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.582, allocations: 79.92 kB / 0.8765 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/1.597, allocations: 13.91 MB / 0.8901 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004827/1.602, allocations: 5.913 MB / 0.8958 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/1.625, allocations: 10.71 MB / 0.9063 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002997/1.628, allocations: 0.5342 MB / 0.9068 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002347/1.631, allocations: 74.47 kB / 0.9069 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004764/1.635, allocations: 343.4 kB / 0.9072 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.637, allocations: 183.6 kB / 0.9074 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.637, allocations: 67.94 kB / 0.9075 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007939/1.645, allocations: 3.225 MB / 0.9106 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.352e-06/1.645, allocations: 0 / 0.9106 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01109/1.656, allocations: 1.628 MB / 0.9122 GB, free: 3.672 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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]) * 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 (156): * Single equations (assignments): 139 * 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.001068/1.657, allocations: 213.9 kB / 0.9124 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.315/1.972, allocations: 9.287 MB / 0.9215 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.972, allocations: 1.094 kB / 0.9215 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009673/1.982, allocations: 4.662 MB / 0.926 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/1.988, allocations: 0.6281 MB / 0.9266 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.021, allocations: 16.04 MB / 0.9423 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004775/2.026, allocations: 3.788 MB / 0.946 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006441/2.033, allocations: 2.267 MB / 0.9482 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/2.034, allocations: 323.1 kB / 0.9485 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/2.034, allocations: 0 / 0.9485 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1172/2.151, allocations: 64.43 MB / 1.011 GB, free: 101.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1)