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.00101/0.00101, 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.475/1.475, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.00165/0.001651, allocations: 113.4 kB / 252.6 MB, free: 4.809 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.2066/0.2066, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.039e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.5994, allocations: 95.28 MB / 0.5375 GB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.5999, allocations: 69.72 kB / 0.5376 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2654/0.8652, allocations: 102.4 MB / 0.6376 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8653, allocations: 0 / 0.6376 GB, free: 13.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.8656, allocations: 84 kB / 0.6377 GB, free: 13.62 MB / 458.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.03382/0.8994, allocations: 6.376 MB / 0.6439 GB, free: 7.172 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.033e-05/0.8995, allocations: 12.03 kB / 0.6439 GB, free: 7.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03278/0.9323, allocations: 7.361 MB / 0.6511 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3724/1.305, allocations: 18.23 MB / 0.6689 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006496/1.305, allocations: 314.7 kB / 0.6692 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003272/1.309, allocations: 434.6 kB / 0.6696 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/1.333, allocations: 10.5 MB / 0.6799 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003105/1.334, allocations: 81.08 kB / 0.68 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/1.335, allocations: 203.9 kB / 0.6802 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/1.336, allocations: 1.049 MB / 0.6812 GB, free: 99.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.357, allocations: 9.076 MB / 0.69 GB, free: 99.32 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.06864/1.426, allocations: 51.22 MB / 0.7401 GB, free: 65.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008369/1.434, allocations: 3.825 MB / 0.7438 GB, free: 63.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/1.437, allocations: 1.949 MB / 0.7457 GB, free: 62.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/1.438, allocations: 23.11 kB / 0.7457 GB, free: 62.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.438, allocations: 65.47 kB / 0.7458 GB, free: 62.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 5.821e-06/1.438, allocations: 0 / 0.7458 GB, free: 62.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.05292/1.491, allocations: 19.23 MB / 0.7646 GB, free: 54.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003779/1.494, allocations: 6.167 MB / 0.7706 GB, free: 48.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009036/1.504, allocations: 4.456 MB / 0.7749 GB, free: 46.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008694/1.504, allocations: 56 kB / 0.775 GB, free: 46.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/1.507, allocations: 3.5 MB / 0.7784 GB, free: 43.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001388/1.508, allocations: 0.9118 MB / 0.7793 GB, free: 43.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/1.509, allocations: 147.9 kB / 0.7794 GB, free: 43.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003357/1.509, allocations: 0.6082 MB / 0.78 GB, free: 42.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/1.513, allocations: 3.01 MB / 0.783 GB, free: 41.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005891/1.519, allocations: 7.32 MB / 0.7901 GB, free: 32.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/1.526, allocations: 4.593 MB / 0.7946 GB, free: 28.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/1.526, allocations: 48 kB / 0.7947 GB, free: 28.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.04787/1.574, allocations: 15.57 MB / 0.8099 GB, free: 16.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.574, allocations: 72 kB / 0.8099 GB, free: 16.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03267/1.606, allocations: 8.912 MB / 0.8186 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03438/1.641, allocations: 6.729 MB / 0.8252 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.647, allocations: 1.684 MB / 0.8269 GB, free: 2.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.67, allocations: 15.7 MB / 0.8422 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009722/1.68, allocations: 0.7839 MB / 0.8429 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002452/1.682, allocations: 453.1 kB / 0.8434 GB, free: 1.285 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 () * 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.00217/1.685, allocations: 0.6505 MB / 0.844 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.686, allocations: 454.2 kB / 0.8445 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4079/2.094, allocations: 0.6108 MB / 0.845 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01673/2.111, allocations: 5.976 MB / 0.8509 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.061e-05/2.111, allocations: 7.844 kB / 0.8509 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/2.111, allocations: 16.64 kB / 0.8509 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/2.139, allocations: 10.44 MB / 0.8611 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/2.139, allocations: 2.656 kB / 0.8611 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/2.142, allocations: 454.6 kB / 0.8615 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/2.157, allocations: 3.587 MB / 0.865 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008683/2.158, allocations: 90.08 kB / 0.8651 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/2.17, allocations: 13.61 MB / 0.8784 GB, free: 95.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002901/2.173, allocations: 5.852 MB / 0.8841 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/2.193, allocations: 10.63 MB / 0.8945 GB, free: 88.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/2.196, allocations: 0.5413 MB / 0.895 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/2.197, allocations: 71.17 kB / 0.8951 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/2.201, allocations: 346.4 kB / 0.8954 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/2.202, allocations: 181.1 kB / 0.8956 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/2.202, allocations: 79.16 kB / 0.8957 GB, free: 88.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006184/2.208, allocations: 3.148 MB / 0.8988 GB, free: 88.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.208, allocations: 0 / 0.8988 GB, free: 88.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009794/2.218, allocations: 1.619 MB / 0.9003 GB, free: 88.64 MB / 490.7 MB 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 () * 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.001143/2.219, allocations: 227.7 kB / 0.9006 GB, free: 88.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01729/2.237, allocations: 9.125 MB / 0.9095 GB, free: 85.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.237, allocations: 0 / 0.9095 GB, free: 85.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008373/2.245, allocations: 4.637 MB / 0.914 GB, free: 82.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/2.251, allocations: 0.6279 MB / 0.9146 GB, free: 82.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/2.274, allocations: 12.27 MB / 0.9266 GB, free: 77.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/2.279, allocations: 3.786 MB / 0.9303 GB, free: 76.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006014/2.285, allocations: 2.268 MB / 0.9325 GB, free: 75.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/2.286, allocations: 316.7 kB / 0.9328 GB, free: 75.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/2.286, allocations: 0 / 0.9328 GB, free: 75.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1116/2.397, allocations: 64.09 MB / 0.9954 GB, free: 21.96 MB / 490.7 MB 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)